Skip to content

Commit

Permalink
fix a test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhoon committed Jun 27, 2024
1 parent 8acab6c commit c128bf5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void shouldNotAllowLegacyMirrorSettings() throws Exception {
.push().join();
}).isInstanceOf(CompletionException.class)
.hasCauseInstanceOf(InvalidPushException.class)
.hasMessageContaining("The '/mirrors.json' file is disallowed.");
.hasMessageContaining("'/mirrors.json' file is not allowed to create.");

assertThatThrownBy(() -> {
client.forRepo("foo", Project.REPO_META)
Expand All @@ -87,6 +87,6 @@ void shouldNotAllowLegacyMirrorSettings() throws Exception {
.push().join();
}).isInstanceOf(CompletionException.class)
.hasCauseInstanceOf(InvalidPushException.class)
.hasMessageContaining("The '/credentials.json' file is disallowed.");
.hasMessageContaining("'/credentials.json' file is not allowed to create.");
}
}

0 comments on commit c128bf5

Please sign in to comment.