From 797b2e574f5dbdcd6a697cca5da4e2910f57e71b Mon Sep 17 00:00:00 2001 From: Martin Alig Date: Wed, 23 Jun 2021 07:49:00 +0200 Subject: [PATCH] Update rules --- .../src/main/resources/verificationRules.json | 6 +++--- .../covidcertificate/backend/verifier/ws/EtagUtilTest.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/resources/verificationRules.json b/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/resources/verificationRules.json index a3a592c9..5c07d7fe 100644 --- a/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/resources/verificationRules.json +++ b/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/resources/verificationRules.json @@ -707,9 +707,9 @@ "2139" ], "acceptance-criteria": { - "single-vaccine-validity-offset": 15, - "vaccine-immunity": 179, - "rat-test-validity": 24, + "single-vaccine-validity-offset": 22, + "vaccine-immunity": 364, + "rat-test-validity": 48, "pcr-test-validity": 72, "recovery-offset-valid-from": 10, "recovery-offset-valid-until": 179 diff --git a/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/test/java/ch/admin/bag/covidcertificate/backend/verifier/ws/EtagUtilTest.java b/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/test/java/ch/admin/bag/covidcertificate/backend/verifier/ws/EtagUtilTest.java index 95a782d8..ebfb9a3a 100644 --- a/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/test/java/ch/admin/bag/covidcertificate/backend/verifier/ws/EtagUtilTest.java +++ b/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/test/java/ch/admin/bag/covidcertificate/backend/verifier/ws/EtagUtilTest.java @@ -41,7 +41,7 @@ public void testUnsortedListHashcode() { @Test public void testFileHash() throws Exception { - String expected = "011ec25ca7a4d0c95fe8fd7c33cdeff3654d7bf9"; + String expected = "b12dc950b08474f264392d5ed919fe9d525f66f5"; String sha1 = EtagUtil.getSha1HashForFiles(PATH_TO_VERIFICATION_RULES); assertEquals(expected, sha1); assertNotEquals(expected, EtagUtil.getSha1HashForFiles(PATH_TO_TEST_VERIFICATION_RULES));