Skip to content

Commit

Permalink
FIxed test on UserServiceTest to use new User creation
Browse files Browse the repository at this point in the history
  • Loading branch information
fickludd committed Jun 9, 2016
1 parent f47efa3 commit 2a691fa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ public String getName()
return "neo4j";
}
};
private static final User NEO4J_USER = new User( "neo4j", Credential.forPassword( "neo4j" ), true );
private static final User NEO4J_USER = new User.Builder( "neo4j", Credential.forPassword( "neo4j" ))
.withRequiredPasswordChange( true ).build();

private final PasswordPolicy passwordPolicy = new BasicPasswordPolicy();
private final InMemoryUserRepository userRepository = new InMemoryUserRepository();
Expand Down

0 comments on commit 2a691fa

Please sign in to comment.