Skip to content
Snippets Groups Projects
Commit bfd913ea authored by Patryk Kazimierowski's avatar Patryk Kazimierowski
Browse files

fixed example JWTokens

parent fd8ee26f
No related branches found
No related tags found
2 merge requests!134Fix role reprezentation in jwt,!132fixed example JWTokens
Pipeline #93114 passed
......@@ -75,7 +75,7 @@ class TokenAuthenticationServiceTest {
@Test
void shouldReturnAuthenticationWhenAuthHeaderIsValid() {
// given
String token = "token123";
String token = "example.jwt.token";
String validHeader = AUTH_METHOD + " " + token;
String username = "testUser";
......@@ -104,7 +104,7 @@ class TokenAuthenticationServiceTest {
@Test
void shouldReturnAuthenticationWithNoAuthoritiesWhenRolesAreNotList() {
// given
String token = "token123";
String token = "example.jwt.token";
String validHeader = AUTH_METHOD + " " + token;
String username = "testUser";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment