chore: run dotnet format
This commit is contained in:
@@ -59,4 +59,4 @@ var secondSnapshot = secondScope.ServiceProvider.GetRequiredService<IOptionsSnap
|
|||||||
Console.WriteLine($"Config: {updatedValue}");
|
Console.WriteLine($"Config: {updatedValue}");
|
||||||
Console.WriteLine($"IOptions: {options.Value}");
|
Console.WriteLine($"IOptions: {options.Value}");
|
||||||
Console.WriteLine($"IOptionsSnapshot 2: {secondSnapshot.Value}");
|
Console.WriteLine($"IOptionsSnapshot 2: {secondSnapshot.Value}");
|
||||||
Console.WriteLine($"IOptionsMonitor: {optionsMonitor.CurrentValue}");
|
Console.WriteLine($"IOptionsMonitor: {optionsMonitor.CurrentValue}");
|
||||||
+2
-1
@@ -12,6 +12,7 @@ using StevanFreeborn.Extensions.Configuration.Secure.Cryptography;
|
|||||||
using StevanFreeborn.Extensions.Configuration.Secure.Storage;
|
using StevanFreeborn.Extensions.Configuration.Secure.Storage;
|
||||||
|
|
||||||
namespace StevanFreeborn.Extensions.Configuration.Secure.Tests.Unit.Configuration;
|
namespace StevanFreeborn.Extensions.Configuration.Secure.Tests.Unit.Configuration;
|
||||||
|
|
||||||
public class SecureConfigBuilderTests
|
public class SecureConfigBuilderTests
|
||||||
{
|
{
|
||||||
private readonly SecureConfigBuilder _sut = new();
|
private readonly SecureConfigBuilder _sut = new();
|
||||||
@@ -157,7 +158,7 @@ public class SecureConfigBuilderTests
|
|||||||
{
|
{
|
||||||
var keyBytes = new byte[32];
|
var keyBytes = new byte[32];
|
||||||
RandomNumberGenerator.Fill(keyBytes);
|
RandomNumberGenerator.Fill(keyBytes);
|
||||||
|
|
||||||
var validKey = Convert.ToBase64String(keyBytes);
|
var validKey = Convert.ToBase64String(keyBytes);
|
||||||
|
|
||||||
_sut.WithBase64EncryptionKey(validKey);
|
_sut.WithBase64EncryptionKey(validKey);
|
||||||
|
|||||||
Reference in New Issue
Block a user