Polish gh-738

This commit is contained in:
Joe Grandja
2022-08-16 02:58:03 -04:00
parent 61621c5671
commit 2e07ce8b8f
2 changed files with 2 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ public class OAuth2ClientCredentialsAuthenticationProviderTests {
}
@Test
public void authenticateWhenNoScopeRequestedThenAccessTokenNotContainsAnyScope() {
public void authenticateWhenNoScopeRequestedThenAccessTokenDoesNotContainScope() {
RegisteredClient registeredClient = TestRegisteredClients.registeredClient2().build();
OAuth2ClientAuthenticationToken clientPrincipal = new OAuth2ClientAuthenticationToken(
registeredClient, ClientAuthenticationMethod.CLIENT_SECRET_BASIC, registeredClient.getClientSecret());