Skip to content

Commit

Permalink
Enable GF embedded web tests (work in progress)
Browse files Browse the repository at this point in the history
Some tests still fail
Signed-off-by:Ondro Mihalyi <mihalyi@omnifish.ee>
  • Loading branch information
OndroMih committed Sep 5, 2023
1 parent 9427443 commit e8e708f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions appserver/tests/embedded/web/web-api/pom.xml
Expand Up @@ -48,6 +48,12 @@
<goals>
<goal>war</goal>
</goals>
<configuration>
<primaryArtifact>false</primaryArtifact>
<packagingExcludes>WEB-INF/lib/*</packagingExcludes>
<webappDirectory>${project.build.directory}/${project.build.finalName}-testapp</webappDirectory>
<classifier>testapp</classifier>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
Expand Up @@ -81,7 +81,7 @@ public void test() throws Exception {

Thread.currentThread().setContextClassLoader(classLoader);

File path = new File(TestConfiguration.PROJECT_DIR, "target/embedded-webapi-tests.war");
File path = new File(TestConfiguration.PROJECT_DIR, "target/embedded-webapi-tests-testapp.war");

Context context = wc.createContext(path, classLoader);

Expand Down

0 comments on commit e8e708f

Please sign in to comment.