datahub/web/test/IntegrationTest.java
Mars Lan bcc3cd9f76 Make unit tests buildable again for backend and web (#325)
* Make unit tests buildable again for backend and web.

* Add back fest dependency so the tests can stay more of less the same as before.
2017-07-10 09:53:28 -07:00

21 lines
426 B
Java

import org.junit.*;
import play.libs.ws.WS;
import static play.test.Helpers.*;
import static org.fest.assertions.api.Assertions.*;
public class IntegrationTest {
@Test
public void test() {
running(testServer(3333), new Runnable() {
public void run() {
assertThat(WS.url("http://localhost:3333").get().get(1000*60).getStatus()).isEqualTo(OK);
}
});
}
}