mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-08 17:53:11 +00:00

* 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.
21 lines
426 B
Java
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);
|
|
}
|
|
});
|
|
}
|
|
|
|
}
|