File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
jacc/contexts/src/test/java/org/javaee7/jacc/contexts Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 99import org .javaee7 .jaspic .common .ArquillianBase ;
1010import org .jboss .arquillian .container .test .api .Deployment ;
1111import org .jboss .arquillian .junit .Arquillian ;
12+ import org .jboss .shrinkwrap .api .Archive ;
1213import org .jboss .shrinkwrap .api .spec .WebArchive ;
1314import org .junit .Test ;
1415import org .junit .runner .RunWith ;
2526public class RequestFromPolicyContextTest extends ArquillianBase {
2627
2728 @ Deployment (testable = false )
28- public static WebArchive createDeployment () {
29- return defaultArchive ().addPackages (true , "org.javaee7.jacc" );
29+ public static Archive <?> createDeployment () {
30+ // TODO: Fix for Liberty which requires EARs :(
31+ return ((WebArchive )defaultArchive ()).addPackages (true , "org.javaee7.jacc" );
3032 }
3133
3234 /**
Original file line number Diff line number Diff line change 1111import org .javaee7 .jaspic .common .ArquillianBase ;
1212import org .jboss .arquillian .container .test .api .Deployment ;
1313import org .jboss .arquillian .junit .Arquillian ;
14+ import org .jboss .shrinkwrap .api .Archive ;
1415import org .jboss .shrinkwrap .api .spec .WebArchive ;
1516import org .junit .Test ;
1617import org .junit .runner .RunWith ;
4445public class SubjectFromPolicyContextTest extends ArquillianBase {
4546
4647 @ Deployment (testable = false )
47- public static WebArchive createDeployment () {
48- return defaultArchive ().addPackages (true , "org.javaee7.jacc" );
48+ public static Archive <?> createDeployment () {
49+ // TODO: Fix for Liberty which requires EARs :(
50+ return ((WebArchive )defaultArchive ()).addPackages (true , "org.javaee7.jacc" );
4951 }
5052
5153 /**
You can’t perform that action at this time.
0 commit comments