Skip to content

Commit

Permalink
Testen zouden nu moeten werken
Browse files Browse the repository at this point in the history
  • Loading branch information
arnedierick committed Mar 4, 2024
1 parent ec54edf commit 59a468a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class StaticAuthControllerTest {
private final List<String> groepLijst = List.of("Groep 1");


private final User user = new User("Tester De Test",
private final User user = new User("Tester De Test", "Tester", "De Test",
"[email protected]", groepLijst, "123456");
private final List<SimpleGrantedAuthority> authLijst = List.of(new SimpleGrantedAuthority("READ_AUTHORITY"));
private final Auth auth = new Auth(user, authLijst);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public class AuthTest {

private final List<String> groeplijst = List.of("testgroep1", "testgroep2");
private final User testUser = new User("John Doe", "[email protected]", groeplijst, "123456");
private final User testUser = new User("John Doe", "John", "Doe", "[email protected]", groeplijst, "123456");

private final List<SimpleGrantedAuthority> authLijst = List.of(new SimpleGrantedAuthority("READ_AUTHORITY"));
private final Auth auth = new Auth(testUser, authLijst);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
public class UserTest {

private final List<String> groeplijst = List.of("testgroep1", "testgroep2");
private final User testUser = new User("John Doe", "[email protected]", groeplijst, "123456");
private final User testUser = new User("John Doe", "John", "Doe", "[email protected]", groeplijst, "123456");

@Test
public void isNotNull(){
Expand Down

0 comments on commit 59a468a

Please sign in to comment.