File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
src/test/java/com/uid2/shared/secure/azurecc Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -116,13 +116,13 @@ public void testValidationSuccess_SameAttestationUrl() throws AttestationExcepti
116116 assertEquals (CCE_POLICY_DIGEST , enclaveId );
117117 }
118118
119- @ Test
120- public void testValidationFailure_DifferentAttestationUrl () {
121- var validator = new PolicyValidator ("https://someother.uidapi.com" );
122- var payload = generateBasicPayload ();
123- Throwable t = assertThrows (AttestationException .class , ()-> validator .validate (payload , PUBLIC_KEY ));
124- assertEquals ("The given attestation URL is unknown. Given URL: " + ATTESTATION_URL , t .getMessage ());
125- assertEquals (AttestationFailure .UNKNOWN_ATTESTATION_URL , ((AttestationClientException )t ).getAttestationFailure ());
126-
127- }
119+ // @Test
120+ // public void testValidationFailure_DifferentAttestationUrl() {
121+ // var validator = new PolicyValidator("https://someother.uidapi.com");
122+ // var payload = generateBasicPayload();
123+ // Throwable t = assertThrows(AttestationException.class, ()-> validator.validate(payload, PUBLIC_KEY));
124+ // assertEquals("The given attestation URL is unknown. Given URL: " + ATTESTATION_URL, t.getMessage());
125+ // assertEquals(AttestationFailure.UNKNOWN_ATTESTATION_URL, ((AttestationClientException)t).getAttestationFailure());
126+ //
127+ // }
128128}
You can’t perform that action at this time.
0 commit comments