Skip to content

Commit

Permalink
inject an error in a test to check output in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed May 1, 2024
1 parent 5dbf457 commit 1b3d5dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public void testBasic() throws NoSuchAlgorithmException, SignatureException, Inv
System.out.println("will check the token for resource=file1 and operation=read");

Authorizer authorizer = final_token.authorizer();
authorizer.add_fact("resource(\"file1\")");
authorizer.add_fact("resurce(\"file1\")");
authorizer.add_fact("operation(\"read\")");
authorizer.add_policy("allow if true");
authorizer.authorize(new RunLimits(500, 100, Duration.ofMillis(500)));
Expand Down

0 comments on commit 1b3d5dc

Please sign in to comment.