Skip to content

Commit 539c0f1

Browse files
authored
Delete 192 test not supported as 192 now supported
1 parent 67a0272 commit 539c0f1

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

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

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -80,23 +80,6 @@ public void TestInterceptResponse_ShouldDoNothing_WhenNoPayload()
8080
fixture.InterceptResponse(response);
8181
}
8282

83-
[TestMethod]
84-
[ExpectedException(typeof(EncryptionException))] // <-- THEN
85-
public void TestInterceptResponse_ShouldThrowAnExceptionWhenEncryptionNotSupported()
86-
{
87-
// GIVEN
88-
string encryptedPayload = "{" +
89-
"\"encryptedPayload\":\"eyJraWQiOiI3NjFiMDAzYzFlYWRlM2E1NDkwZTUwMDBkMzc4ODdiYWE1ZTZlYzBlMjI2YzA3NzA2ZTU5OTQ1MWZjMDMyYTc5IiwiY3R5IjoiYXBwbGljYXRpb25cL2pzb24iLCJlbmMiOiJBMTkyR0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.peSgTt_lPbcNStWh-gI3yMzhOGtFCwExFwLxKeHwjzsXvHB0Fml5XnG0jRbJSfOHzKx02d0NVBzoDDRSAnafuabbbMKcoaUK-jZNHSg4BHdyBZpCO82kzvWeEm3TTNHIMBTfM00EmdFB03z_a0PaWsT-FIOzu4Sd5Z_nsNLhP9941CtVS-YtZ9WkgDezGipxA7ejQ3X5gFVy2RH1gL8OTbzIYCwBcrfSjAiCQgunNbLxPPlfZHB_6prPK7_50NS6FvuMnAhiqUiiAka8DHMdeGBWOie2Q0FV_bsRDHx_6CY8kQA3F_NXz1dELIclJhdZFfRt1y-TEfwOIj4nDi2JnA.8BYMB5MkH2ZNyFGS._xb3uDsUQcPT5fQyZw.O0MzJ5OvNyj_QMuqaloTWA\"}";
90-
var config = TestUtils.GetTestJweConfigBuilder()
91-
.WithDecryptionPath("$.encryptedPayload", "$.foo")
92-
.Build();
93-
var response = RestResponseWithContentLength(encryptedPayload);
94-
95-
// WHEN
96-
var fixture = RestSharpEncryptionInterceptor.From(config);
97-
fixture.InterceptResponse(response);
98-
}
99-
10083
[TestMethod]
10184
[ExpectedException(typeof(EncryptionException))] // <-- THEN
10285
public void TestInterceptResponse_ShouldThrowException_WhenDecryptionFails()

0 commit comments

Comments
 (0)