Skip to content

Commit

Permalink
Update testInitialSelfSignUpPage()
Browse files Browse the repository at this point in the history
  • Loading branch information
KD23243 committed Jan 6, 2025
1 parent db41f7b commit 027513c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public class SelfSignUpConsentTest extends ISIntegrationTest {
public static final String CONSNT_ENDPOINT_SUFFIX = "/api/identity/consent-mgt/v1.0/consents";
public static final String USER_RECOVERY_ME_ENDPOINT = "/api/identity/user/v1.0/me";
private static final String CALLBACK_ENDPOINT = "https://localhost:9853/carbon/callback";
private static final String TENANTED_CALLBACK_ENDPOINT = "https://localhost:9853/t/wso2.com/carbon/callback";
private static final String COUNTRY_WSO2_CLAIM = "http://wso2.org/claims/country";
private static final String CALLBACK_QUERY_PARAM = "callback";
private static final String USERNAME_QUERY_PARAM = "username";
Expand Down Expand Up @@ -148,7 +147,8 @@ public void testInitialSelfSignUpPage() throws IOException {
Assert.assertNotNull(content);
Assert.assertTrue(content.contains("Enter your username"), "Page for entering username is not prompted while" +
" self registering");
Assert.assertTrue(content.contains(TENANTED_CALLBACK_ENDPOINT), "Callback endpoint is not available in self " +
Assert.assertTrue(content.contains(getTenantQualifiedURL(CALLBACK_ENDPOINT, secondaryTenantDomain)),
"Callback endpoint is not available in self " +
"registration username input page.");
}

Expand Down

0 comments on commit 027513c

Please sign in to comment.