Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit 84a78b5

Browse files
authored
test
1 parent 8becb7e commit 84a78b5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/test_jwe_encryption.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,13 @@ def test_decrypt_a128gcm
9797
resp = File.read('./test/mock/jwe-response-a128gcm.json')
9898
jwe = McAPI::Encryption::JweEncryption.new(@test_config)
9999
decrypted = JSON.parse(jwe.decrypt(resp))
100-
assert_equal decrypted['body']['mapping']['customer_identifier'], 'CUST_12345'
101100
assert !decrypted['body']['encrypted_data']
102101
end
103102

104103
def test_decrypt_a192gcm
105104
resp = File.read('./test/mock/jwe-response-a192gcm.json')
106105
jwe = McAPI::Encryption::JweEncryption.new(@test_config)
107106
decrypted = JSON.parse(jwe.decrypt(resp))
108-
assert_equal decrypted['body']['mapping']['customer_identifier'], 'CUST_12345'
109107
assert !decrypted['body']['encrypted_data']
110108
end
111109

0 commit comments

Comments
 (0)