1.1 --- a/webidor/src/test/java/cz/xelfi/quoridor/webidor/GamesTest.java Sat Sep 12 05:00:28 2009 +0200
1.2 +++ b/webidor/src/test/java/cz/xelfi/quoridor/webidor/GamesTest.java Sun Sep 13 16:48:54 2009 +0200
1.3 @@ -27,6 +27,7 @@
1.4 package cz.xelfi.quoridor.webidor;
1.5
1.6 import cz.xelfi.quoridor.webidor.resources.Games;
1.7 +import cz.xelfi.quoridor.webidor.resources.Quoridor;
1.8 import java.io.File;
1.9 import java.io.FileOutputStream;
1.10 import java.io.IOException;
1.11 @@ -80,7 +81,7 @@
1.12
1.13 Thread.sleep(1000);
1.14
1.15 - Games games = new Games(dir);
1.16 + Games games = new Games(dir, new Quoridor());
1.17 Game g = games.getBoardInfo("x");
1.18 assertNotNull("Game found", g);
1.19 assertNotNull("Board found", g.getBoard());