-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update SelfSignUpConsentTest
with Tenanted Callback Endpoint and Assertion Adjustments
#22154
Conversation
PR builder started |
PR builder completed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/12616515197
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"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use port and secondary domain name from already available constants. You can add a new PR with this suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed using #22158
Purpose
This pull request includes changes to the
SelfSignUpConsentTest
class in theorg.wso2.identity.integration.test.consent
package to update the callback endpoints and adjust the corresponding test assertions.Changes to callback endpoints:
CALLBACK_ENDPOINT
to use the correct port (https://localhost:9853/carbon/callback
).TENANTED_CALLBACK_ENDPOINT
for tenant specific callback URL (https://localhost:9853/t/wso2.com/carbon/callback
).Adjustments to test assertions:
testInitialSelfSignUpPage
method to assert the presence of theTENANTED_CALLBACK_ENDPOINT
instead ofCALLBACK_ENDPOINT
.Related PRs