Skip to content

Commit 8266c31

Browse files
Excluding GCM decryption test from netcore 5.0 as it's unsupported
1 parent ae05cfb commit 8266c31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mastercard.Developer.ClientEncryption.Tests/NetCore2/Interceptors/RestSharpV2GcmJweEncryptionInterceptorTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void TestIntercept_ShouldEncryptRequestPayloadAndUpdateContentLengthHeade
4848
}
4949

5050
[TestMethod]
51-
#if !NETCOREAPP3_1 && !NET5_0_OR_GREATERTestInterceptResponse_ShouldDecryptResponsePayloadAndUpdateContentLengthHeaderTestInterceptResponse_ShouldDecryptResponsePayloadAndUpdateContentLengthHeader
51+
#if !NETCOREAPP3_1 && !NET5_0_OR_GREATER
5252
[ExpectedException(typeof(EncryptionException), "AES/GCM/NoPadding is unsupported on .NET Standard < 2.1")]
5353
# endif
5454
public void TestInterceptResponse_ShouldDecryptResponsePayloadAndUpdateContentLengthHeader()

0 commit comments

Comments
 (0)