Skip to content

Commit da7252a

Browse files
authored
Replace IHashAlgorithmWrapper in FactoryTests with GetUnavailableHashAlgorithms
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 38c0bb0 commit da7252a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

HashifyNet.UnitTests/Core/FactoryTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void Factory_ComputeCryptographicHashes_Works()
120120
IHashFunctionBase[] functions = HashFactory.CreateHashAlgorithms(HashFunctionType.Cryptographic, new Dictionary<Type, IHashConfigBase>()
121121
{
122122
{ typeof(IArgon2id), Argon2idConfig.OWASP_Standard }
123-
}, typeof(IHashAlgorithmWrapper));
123+
}, HashFactory.GetUnavailableHashAlgorithms());
124124

125125
Assert.NotNull(functions);
126126
Assert.NotEmpty(functions);
@@ -162,3 +162,4 @@ public void Factory_CreateInstance_WithConfig_Works()
162162
}
163163
}
164164
}
165+

0 commit comments

Comments
 (0)