diff --git a/src/test/java/no/josefushighscore/register/UserRegisterIntegrationTest.java b/src/test/java/no/josefushighscore/register/UserRegisterIntegrationTest.java index 775e5f1..8e7f0b8 100644 --- a/src/test/java/no/josefushighscore/register/UserRegisterIntegrationTest.java +++ b/src/test/java/no/josefushighscore/register/UserRegisterIntegrationTest.java @@ -35,6 +35,7 @@ public void setUp() { user.setLastname("TestUserLastname"); user.setEmail("test@test.com"); user.setPassword("TestPassword"); + user.setUsername("TestUsername"); this.entityManager.persist(user); }