From 32567f0fecf341835e9701c36b65f66b505fab8a Mon Sep 17 00:00:00 2001 From: Justin Baur <19896123+justindbaur@users.noreply.github.com> Date: Fri, 4 Apr 2025 12:22:43 -0400 Subject: [PATCH] Format --- ...ainCustomizationServiceCollectionExtensionsTests.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/Core.Test/Platform/X509ChainCustomization/X509ChainCustomizationServiceCollectionExtensionsTests.cs b/test/Core.Test/Platform/X509ChainCustomization/X509ChainCustomizationServiceCollectionExtensionsTests.cs index 30eb19d8c0..d4f927f4a1 100644 --- a/test/Core.Test/Platform/X509ChainCustomization/X509ChainCustomizationServiceCollectionExtensionsTests.cs +++ b/test/Core.Test/Platform/X509ChainCustomization/X509ChainCustomizationServiceCollectionExtensionsTests.cs @@ -1,4 +1,4 @@ -using System.Security.Cryptography; +using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using Bit.Core.Platform.X509ChainCustomization; using Bit.Core.Settings; @@ -24,7 +24,7 @@ public class X509ChainCustomizationServiceCollectionExtensionsTests public async Task OptionsPatternReturnsCachedValue() { var tempDir = Directory.CreateTempSubdirectory("certs"); - + var tempCert = Path.Combine(tempDir.FullName, "test.crt"); await File.WriteAllBytesAsync(tempCert, CreateSelfSignedCert("localhost").Export(X509ContentType.Cert)); @@ -36,7 +36,7 @@ public class X509ChainCustomizationServiceCollectionExtensionsTests config["X509ChainOptions:AdditionalCustomTrustCertificatesDirectory"] = tempDir.FullName; }); - + // Create options once var firstOptions = services.GetRequiredService>().Value; @@ -61,7 +61,7 @@ public class X509ChainCustomizationServiceCollectionExtensionsTests public async Task DoesNotProvideCustomCallbackOnCloud() { var tempDir = Directory.CreateTempSubdirectory("certs"); - + var tempCert = Path.Combine(tempDir.FullName, "test.crt"); await File.WriteAllBytesAsync(tempCert, CreateSelfSignedCert("localhost").Export(X509ContentType.Cert)); @@ -81,7 +81,7 @@ public class X509ChainCustomizationServiceCollectionExtensionsTests public async Task ManuallyAddingOptionsTakesPrecedence() { var tempDir = Directory.CreateTempSubdirectory("certs"); - + var tempCert = Path.Combine(tempDir.FullName, "test.crt"); await File.WriteAllBytesAsync(tempCert, CreateSelfSignedCert("localhost").Export(X509ContentType.Cert));