You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2019/05/29 10:02:11 UTC
[tomee] 06/07: Fix test
This is an automated email from the ASF dual-hosted git repository.
jgallimore pushed a commit to branch tomee-7.1.x
in repository https://gitbox.apache.org/repos/asf/tomee.git
commit 8fe1b94f31e5465687388c399a04e584ae8a4be0
Author: Jonathan Gallimore <jo...@jrg.me.uk>
AuthorDate: Tue May 28 14:09:05 2019 +0100
Fix test
---
.../java/org/apache/openejb/core/security/BasicJaccProviderTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/container/openejb-core/src/test/java/org/apache/openejb/core/security/BasicJaccProviderTest.java b/container/openejb-core/src/test/java/org/apache/openejb/core/security/BasicJaccProviderTest.java
index 2d9b387..451c105 100644
--- a/container/openejb-core/src/test/java/org/apache/openejb/core/security/BasicJaccProviderTest.java
+++ b/container/openejb-core/src/test/java/org/apache/openejb/core/security/BasicJaccProviderTest.java
@@ -33,7 +33,7 @@ import java.security.Policy;
@ContainerProperties(
@ContainerProperties.Property(
name = "javax.security.jacc.policy.provider",
- value = "org.apache.openejb.core.security.BasicJaccProviderTest.MyPolicy"))
+ value = "org.apache.openejb.core.security.BasicJaccProviderTest$MyPolicy"))
public class BasicJaccProviderTest {
@EJB
@@ -41,6 +41,7 @@ public class BasicJaccProviderTest {
@Test
public void run() throws Exception {
+ Assert.assertNotNull("Singleton bean could not be created", myBean);
Assert.assertEquals("tset", myBean.reverse("test"));
}
@@ -67,4 +68,3 @@ public class BasicJaccProviderTest {
}
}
}
-