1.1 --- a/webidor/src/test/java/cz/xelfi/quoridor/webidor/FinishedGameTest.java Sun Sep 13 20:07:32 2009 +0200
1.2 +++ b/webidor/src/test/java/cz/xelfi/quoridor/webidor/FinishedGameTest.java Sun Oct 18 15:48:47 2009 +0200
1.3 @@ -77,7 +77,6 @@
1.4 dir.delete();
1.5 }
1.6 @Test public void testNotLoggedIn() {
1.7 - webResource = webResource.path("api");
1.8 String status = webResource.path("login").queryParam("id", "not-logged-in").
1.9 accept(MediaType.TEXT_PLAIN).get(String.class);
1.10 assertEquals("Nobody is logged in", "", status);
1.11 @@ -85,7 +84,6 @@
1.12
1.13
1.14 @Test public void testCreateAGame() throws Exception {
1.15 - webResource = webResource.path("api");
1.16 String logJarda = webResource.path("login").
1.17 queryParam("name", "Jarda").
1.18 queryParam("password", "heslo").
1.19 @@ -131,7 +129,6 @@
1.20 }
1.21
1.22 @Test public void testResignAGame() throws Exception {
1.23 - webResource = webResource.path("api");
1.24 String logJarda = webResource.path("login").
1.25 queryParam("name", "Jarda").
1.26 queryParam("password", "heslo").