Skip to content

Commit

Permalink
Fix unit test for commit 6b47354
Browse files Browse the repository at this point in the history
  • Loading branch information
lemora committed Dec 20, 2023
1 parent 3321de1 commit 1206a18
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -146,8 +146,8 @@ public void shouldFailOnMalformedAliasLine() throws IOException, AuthenticationE
plugin.account(Set.of(new UserNamePrincipal("bert")));
}

@Test(expected = AuthenticationException.class)
public void shouldBanAllIfConfigDeleted() throws IOException, AuthenticationException {
@Test
public void shouldAllowAllIfConfigDeleted() throws IOException, AuthenticationException {
givenConfig("");
Files.deleteIfExists(configFile);
plugin.account(Set.of(new UserNamePrincipal("bert")));
Expand Down

0 comments on commit 1206a18

Please sign in to comment.