Skip to content

Commit

Permalink
Token renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
dukris committed Jan 23, 2024
1 parent cbc1452 commit 65789db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"JTCOP.RuleCorrectTestName",
"JTCOP.RuleAllTestsHaveProductionClass"
})
public final class AccessToken implements Scalar<String> {
public final class KeycloakToken implements Scalar<String> {

/**
* Auth server url.
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/it/web/RetrieveProjectByIdITCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void retrievesProjectByIdSuccessfully() throws Exception {
.header(
HttpHeaders.AUTHORIZATION,
"Bearer %s".formatted(
new AccessToken(
new KeycloakToken(
KeycloakIntegration.KEYCLOAK.getAuthServerUrl()
).value()
)
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/it/web/RetrieveProjectsByUserITCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void retrievesProjectByIdSuccessfully() throws Exception {
.header(
HttpHeaders.AUTHORIZATION,
"Bearer %s".formatted(
new AccessToken(
new KeycloakToken(
KeycloakIntegration.KEYCLOAK.getAuthServerUrl()
).value()
)
Expand Down

0 comments on commit 65789db

Please sign in to comment.