File tree Expand file tree Collapse file tree
example/src/test/java/eu/webeid/example/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ void mobileInitBuildsDeepLinkWithEmbeddedChallenge() throws Exception {
6767 .andReturn ();
6868
6969 JsonNode json = mapper .readTree (result .getResponse ().getContentAsByteArray ());
70- String eidAuthUri = json .get ("auth_uri " ).asText ();
70+ String eidAuthUri = json .get ("authUri " ).asText ();
7171
7272 assertThat (eidAuthUri ).startsWith ("web-eid-mobile://auth#" );
7373
@@ -78,6 +78,6 @@ void mobileInitBuildsDeepLinkWithEmbeddedChallenge() throws Exception {
7878 String challengeInSession = ((ChallengeNonce ) Objects .requireNonNull (session .getAttribute ("challenge-nonce" ))).getBase64EncodedNonce ();
7979
8080 assertThat (challengeInPayload ).isEqualTo (challengeInSession );
81- assertThat (payload .get ("login_uri " ).asText ()).endsWith ("/auth/mobile/login" );
81+ assertThat (payload .get ("loginUri " ).asText ()).endsWith ("/auth/mobile/login" );
8282 }
8383}
You can’t perform that action at this time.
0 commit comments