Skip to content

Commit 47f0d3e

Browse files
authored
update test accordingly
1 parent e35d0ba commit 47f0d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/cloudbees/jenkins/plugins/sshcredentials/impl/BasicSSHUserPrivateKeyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public void userWithoutRunScripts_cannotMigrateDangerousPrivateKeySource() throw
9898
.withStdin(updateFolder.read())
9999
.invokeWithArgs("folder1");
100100

101-
assertThat(result.stderr(), containsString("user is missing the Overall/RunScripts permission"));
101+
assertThat(result.stderr(), containsString("user is missing the Overall/Administer permission"));
102102
assertThat(result, failedWith(1));
103103

104104
// config file not touched

0 commit comments

Comments
 (0)