mirror of
https://github.com/bitwarden/server.git
synced 2025-05-31 00:00:34 -05:00
Remove unneeded helper
This commit is contained in:
parent
ee4678453b
commit
2c27c8447d
@ -1,4 +1,4 @@
|
|||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Security.Cryptography.X509Certificates;
|
using System.Security.Cryptography.X509Certificates;
|
||||||
using Bit.Core.Models.Mail;
|
using Bit.Core.Models.Mail;
|
||||||
using Bit.Core.Platform.X509ChainCustomization;
|
using Bit.Core.Platform.X509ChainCustomization;
|
||||||
@ -32,11 +32,6 @@ public class MailKitSmtpMailDeliveryServiceTests
|
|||||||
return certRequest.CreateSelfSigned(DateTimeOffset.UtcNow, DateTimeOffset.UtcNow.AddYears(1));
|
return certRequest.CreateSelfSigned(DateTimeOffset.UtcNow, DateTimeOffset.UtcNow.AddYears(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
private static async Task SaveCertAsync(string filePath, X509Certificate2 certificate)
|
|
||||||
{
|
|
||||||
await File.WriteAllBytesAsync(filePath, certificate.Export(X509ContentType.Cert));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void ConfigureSmtpServerLogging(ITestOutputHelper testOutputHelper)
|
private static void ConfigureSmtpServerLogging(ITestOutputHelper testOutputHelper)
|
||||||
{
|
{
|
||||||
// Unfortunately this package doesn't public expose its logging infrastructure
|
// Unfortunately this package doesn't public expose its logging infrastructure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user