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?
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?