We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We currently use the annotation @WithMockUser to impersonate a user with a specific role in our integration tests.
The WebGraphQlTester only allows for basic or bearer auth headers, so for right now, we can't create any test cases for our internal api.
Maybe there is a way currently to get the WebGraphQlTester to use the test security context overridden by WithMockUserSecurityContextFactory?
WithMockUserSecurityContextFactory
The text was updated successfully, but these errors were encountered:
Have you found a way to make this work yet?
Sorry, something went wrong.
@MaartenBl Nope, still waiting for this to be picked up
No branches or pull requests
We currently use the annotation @WithMockUser to impersonate a user with a specific role in our integration tests.
The WebGraphQlTester only allows for basic or bearer auth headers, so for right now, we can't create any test cases for our internal api.
Maybe there is a way currently to get the WebGraphQlTester to use the test security context overridden by
WithMockUserSecurityContextFactory
?The text was updated successfully, but these errors were encountered: