From 76608930871090834a461e1e0ad09f851dcad0ab Mon Sep 17 00:00:00 2001 From: Alexandru Macocian Date: Thu, 15 Jul 2021 16:15:17 +0300 Subject: [PATCH] Remove UTs expecting exception --- .../SecureStringTests.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/SystemExtensions.NetStandard.Security.Tests/SecureStringTests.cs b/SystemExtensions.NetStandard.Security.Tests/SecureStringTests.cs index e6d099c..315619c 100644 --- a/SystemExtensions.NetStandard.Security.Tests/SecureStringTests.cs +++ b/SystemExtensions.NetStandard.Security.Tests/SecureStringTests.cs @@ -119,16 +119,5 @@ namespace SystemExtensions.NetStandard.Security.Tests ss1.Should().Be(ss2); } - - [TestMethod] - public void SecureString_ChangingEntropy_ThrowsOnPreviousValue() - { - var ss1 = new SecureString("Hello"); - SecureString.AddOptionalEntropy(new byte[] { 10, 20, 25, 34, 56, 12, 10, 81, 200, 155, 123, 144, 123, 192, 122, 1 }); - - var action = new Func(() => ss1.Value); - - action.Should().Throw(); - } } }