Skip to content

Commit ce61c5b

Browse files
committed
The forbidden APIs check is not messing around
1 parent 29183b7 commit ce61c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/src/test/java/org/elasticsearch/entitlement/runtime/policy/TestPolicyManagerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void testReset() {
5151

5252
public void testIsTriviallyAllowed() {
5353
assertTrue(policyManager.isTriviallyAllowed(String.class));
54-
assertTrue(policyManager.isTriviallyAllowed(org.junit.Test.class));
54+
assertTrue(policyManager.isTriviallyAllowed(org.junit.Before.class));
5555
assertTrue(policyManager.isTriviallyAllowed(PolicyManager.class));
5656

5757
assertFalse(policyManager.isTriviallyAllowed(getClass()));

0 commit comments

Comments
 (0)