Skip to content

Commit

Permalink
Fix failing test in console-priv.t
Browse files Browse the repository at this point in the history
 #   Failed test at t/console-priv.t line 39.
 #          got: 'error: You are not permitted to grant admin:*'
 #     expected: 'error: You are not authorized to run this command.'
 # Looks like you failed 1 test of 24.

Update expected error to match the actual error.
  • Loading branch information
kareila committed Apr 18, 2015
1 parent b73240d commit 1f9ab63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/console-priv.t
Expand Up @@ -37,7 +37,7 @@ my $run = sub {
};

is($run->("priv grant admin:* " . $u2->user),
"error: You are not authorized to run this command.");
"error: You are not permitted to grant admin:*");
is($run->("priv_package list"),
"error: You are not authorized to run this command.");
$u->grant_priv("admin", "supporthelp");
Expand Down

0 comments on commit 1f9ab63

Please sign in to comment.