Commit e8b27d59dd01099d40134f82a504746563ef69a3
1 parent
b6a31a21
Fix deleteGroupDoesDeleteUsers
- redundant user1 creation
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/test/java/fr/plil/sio/persistence/jdbc/GroupServiceTest.java
@@ -69,7 +69,7 @@ public class GroupServiceTest extends AbstractServiceSupport { | @@ -69,7 +69,7 @@ public class GroupServiceTest extends AbstractServiceSupport { | ||
69 | @Test | 69 | @Test |
70 | public void deleteGroupDoesDeleteUsers() { | 70 | public void deleteGroupDoesDeleteUsers() { |
71 | userService.create("user1", "group"); | 71 | userService.create("user1", "group"); |
72 | - userService.create("user1", "group"); | 72 | + userService.create("user2", "group"); |
73 | assertNotNull(userService.findByName("user1")); | 73 | assertNotNull(userService.findByName("user1")); |
74 | assertNotNull(userService.findByName("user2")); | 74 | assertNotNull(userService.findByName("user2")); |
75 | groupService.delete("group"); | 75 | groupService.delete("group"); |