From a32bffc6504a885b807c83cca88b29420b034e72 Mon Sep 17 00:00:00 2001 From: oleksandrsarapulovgl <82441124+oleksandrsarapulovgl@users.noreply.github.com> Date: Thu, 26 Aug 2021 15:08:02 +0300 Subject: [PATCH] Fixed test (#59) --- decoder/src/test/java/dgca/verifier/app/decoder/QrCodeTests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decoder/src/test/java/dgca/verifier/app/decoder/QrCodeTests.kt b/decoder/src/test/java/dgca/verifier/app/decoder/QrCodeTests.kt index 25b529a..eb4b04c 100644 --- a/decoder/src/test/java/dgca/verifier/app/decoder/QrCodeTests.kt +++ b/decoder/src/test/java/dgca/verifier/app/decoder/QrCodeTests.kt @@ -136,7 +136,7 @@ class QrCodeTests { val result = decoder.decodeCertificate(hCert) assertTrue(result is CertificateDecodingResult.Success) val pubkey = - "MIICfzCCAiSgAwIBAgIJAInLHHNtUCCaMAoGCCqGSM49BAMCMGsxCzAJBgNVBAYTAlNHMRIwEAYDVQQIDAlTaW5nYXBvcmUxJTAjBgNVBAoMHEdvdmVybm1lbnQgVGVjaG5vbG9neSBBZ2VuY3kxITAfBgNVBAMMGGNzY2Euc3RhZ2luZy5ub3RhcmlzZS5pbzAeFw0yMTA4MjQxMDM0MDFaFw0yMzA4MjQxMDM0MDFaMF8xCzAJBgNVBAYTAlNHMRIwEAYDVQQIDAlTaW5nYXBvcmUxGzAZBgNVBAoMEk1pbmlzdHJ5IE9mIEhlYWx0aDEfMB0GA1UEAwwWZHNjLnN0YWdpbmcubW9oLmdvdi5zZzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABHppW+8K1L9XNmHnuehezl3JnvMKo3OFuclEaefGVbuTBrp2oYDE7vB91nm3ZqpR6tL/1I5IdZvr+TXYg1+wll6jgbwwgbkwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBRsCO6wnLBmqzoP0Py+G99vwOyHKzAfBgNVHSMEGDAWgBRw8Z6F7tNUNI+w2qkyzRBQd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