Skip to content

Commit

Permalink
chore: fix sonar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandra-bel committed Apr 15, 2024
1 parent 59461aa commit 898ed36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ private StringPool() {

public static final String REALM = "miw_test";

public static final String USER_PWD = "s3cr3t";

public static final String VALID_USER_NAME = "valid_user";

public static final String INVALID_USER_NAME = "invalid_user";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private static String getJwtToken(String username) {
.clientId(StringPool.CLIENT_ID)
.clientSecret(StringPool.CLIENT_SECRET)
.username(username)
.password(StringPool.USER_PWD)
.password("s3cr3t")
.build();
String access_token = keycloakAdminClient.tokenManager().getAccessToken().getToken();

Expand Down

0 comments on commit 898ed36

Please sign in to comment.