Skip to content

Commit 2eb055b

Browse files
committed
WebFrameworkTest extends now HTTPTest
1 parent 7ea62a6 commit 2eb055b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/main/java/org/javawebstack/framework/testing/WebFrameworkTest.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,13 @@
33
import org.javawebstack.framework.WebApplication;
44
import org.javawebstack.httpserver.test.HTTPTest;
55

6-
public abstract class WebFrameworkTest {
6+
public abstract class WebFrameworkTest extends HTTPTest {
77

8-
private HTTPTest httpTest;
98
private WebApplication webApplication;
109

1110
public WebFrameworkTest(WebApplication webApplication){
11+
super(webApplication.getServer());
1212
this.webApplication = webApplication;
13-
httpTest = new HTTPTest(webApplication.getServer()) {};
14-
}
15-
16-
public HTTPTest getHttpTest() {
17-
return httpTest;
1813
}
1914

2015
public WebApplication getWebApplication() {

0 commit comments

Comments
 (0)