fix(module-web): fix empty ids

This commit is contained in:
Damian Pierzchalski 2018-12-08 22:28:30 +01:00
parent f693e1804c
commit c707b84ab5
2 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,8 @@ public class BoardGameDao {
BoardGameEntity boardGame2 = new BoardGameEntity();
boardGame1.setName("Dominion");
boardGame2.setName("Agricola");
boardGame1.setId(new Long(0));
boardGame2.setId(new Long(1));
boardgames.add(boardGame1);
boardgames.add(boardGame2);

View File

@ -17,6 +17,7 @@ public class UserDao {
UserEntity user = new UserEntity();
user.setUsername("test");
user.setId(new Long(0));
users.add(user);
}