fix(module-web): fix empty ids
This commit is contained in:
parent
f693e1804c
commit
c707b84ab5
@ -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);
|
||||
|
@ -17,6 +17,7 @@ public class UserDao {
|
||||
|
||||
UserEntity user = new UserEntity();
|
||||
user.setUsername("test");
|
||||
user.setId(new Long(0));
|
||||
|
||||
users.add(user);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user