This is an automated email from the ASF dual-hosted git repository.

jgallimore pushed a commit to branch tomee-1.7.x
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit 06e4d6ebfdf277b70434c380f735673cfa45d252
Author: Jonathan Gallimore <[email protected]>
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 {
         }
     }
 }
-

Reply via email to