Skip to content

Commit

Permalink
IKC-285 Authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Belke authored and Piotr Belke committed Jul 26, 2023
1 parent 62cc7ae commit 563c4c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void should_check_if_user_is_login_first_time() throws Exception {
assertAll(
() -> assertThat(Files.exists(path)).isTrue(),
() -> assertThat(Files.readString(path).split(";")[0]).isEqualTo("admin"),
() -> assertThat(Files.readString(path).split(";")[1]).isEqualTo("admin_role")
() -> assertThat(Files.readString(path).split(";")[1]).isEqualTo("admin_group")
);
}

Expand All @@ -75,7 +75,7 @@ void should_change_users_default_password() throws Exception {
assertAll(
() -> assertThat(Files.exists(path)).isTrue(),
() -> assertThat(Files.readString(path).split(";")[0]).isEqualTo("newpassword"),
() -> assertThat(Files.readString(path).split(";")[1]).isEqualTo("admin_role")
() -> assertThat(Files.readString(path).split(";")[1]).isEqualTo("admin_group")
);
}
}

0 comments on commit 563c4c0

Please sign in to comment.