Repository: tomee
Updated Branches:
  refs/heads/master 3eb2687b9 -> 215fdacfa


TOMEE-2175 add pre-emptive authentication for this test


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/215fdacf
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/215fdacf
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/215fdacf

Branch: refs/heads/master
Commit: 215fdacfa19e077b75fffa6453b8cfe5307acb82
Parents: 3eb2687
Author: Jonathan Gallimore <j...@jrg.me.uk>
Authored: Fri Mar 2 10:27:04 2018 +0000
Committer: Jonathan Gallimore <j...@jrg.me.uk>
Committed: Fri Mar 2 10:27:04 2018 +0000

----------------------------------------------------------------------
 .../arquillian/tests/securityejb/SecurityEJBPropagationTest.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/215fdacf/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/securityejb/SecurityEJBPropagationTest.java
----------------------------------------------------------------------
diff --git 
a/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/securityejb/SecurityEJBPropagationTest.java
 
b/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/securityejb/SecurityEJBPropagationTest.java
index ec17428..535e364 100644
--- 
a/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/securityejb/SecurityEJBPropagationTest.java
+++ 
b/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/securityejb/SecurityEJBPropagationTest.java
@@ -26,6 +26,7 @@ import org.jboss.shrinkwrap.api.spec.WebArchive;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+import java.io.File;
 import java.io.IOException;
 import java.net.URL;
 
@@ -38,7 +39,8 @@ public class SecurityEJBPropagationTest {
         return ShrinkWrap.create(WebArchive.class, "jaspic-ejb.war")
                 .addClasses(
                         TheAuthConfigProvider.class, TheEJb.class, 
TheServlet.class, Init.class, TheBean.class,
-                        TheServerAuthConfig.class, TheServerAuthContext.class, 
TheServerAuthModule.class, TheServerAuthModule.class);
+                        TheServerAuthConfig.class, TheServerAuthContext.class, 
TheServerAuthModule.class, TheServerAuthModule.class)
+                .addAsWebResource(new 
File("src/test/resources/test/context.xml"), "META-INF/context.xml");
     }
 
     @ArquillianResource

Reply via email to