Skip to content

Commit

Permalink
Fix: Update response code in failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
anarsultanov committed Feb 26, 2024
1 parent e0629ff commit f45dc33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void user_shouldFailToCreateTenant_whenRoleIsRequiredButMissing() {
try (var response = user.tenantsResource().createTenant(tenantRepresentation)) {

// then
assertThat(response.getStatus()).isEqualTo(401);
assertThat(response.getStatus()).isEqualTo(403);
} finally {
removeRealmAttribute(ATTRIBUTE_NAME);
}
Expand Down

0 comments on commit f45dc33

Please sign in to comment.