From e8b27d59dd01099d40134f82a504746563ef69a3 Mon Sep 17 00:00:00 2001 From: jcartign Date: Mon, 26 Sep 2016 09:32:42 +0200 Subject: [PATCH] Fix deleteGroupDoesDeleteUsers --- src/test/java/fr/plil/sio/persistence/jdbc/GroupServiceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/fr/plil/sio/persistence/jdbc/GroupServiceTest.java b/src/test/java/fr/plil/sio/persistence/jdbc/GroupServiceTest.java index 4e6aafb..fe59d40 100644 --- a/src/test/java/fr/plil/sio/persistence/jdbc/GroupServiceTest.java +++ b/src/test/java/fr/plil/sio/persistence/jdbc/GroupServiceTest.java @@ -69,7 +69,7 @@ public class GroupServiceTest extends AbstractServiceSupport { @Test public void deleteGroupDoesDeleteUsers() { userService.create("user1", "group"); - userService.create("user1", "group"); + userService.create("user2", "group"); assertNotNull(userService.findByName("user1")); assertNotNull(userService.findByName("user2")); groupService.delete("group"); -- libgit2 0.21.2