Skip to content

Commit

Permalink
change method names
Browse files Browse the repository at this point in the history
  • Loading branch information
mherman22 committed Nov 15, 2024
1 parent bc51982 commit 0069c6b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void requestPasswordReset_shouldCreateUserActivationKeyGivenEmail() throw
}

@Test
public void requestPasswordReset_shouldCreateUserActivationKeyGivenEmailForAnyUser() throws Exception {
public void requestPasswordReset_shouldCreateUserActivationKeyWhenUnauthenticatedWithValidEmail() throws Exception {
User user = setUpUser("butch");
user.setEmail("[email protected]");
assertNull(dao.getLoginCredential(user).getActivationKey());
Expand All @@ -87,7 +87,7 @@ public void requestPasswordReset_shouldCreateUserActivationKeyGivenEmailForAnyUs
}

@Test
public void requestPasswordReset_shouldCreateUserActivationKeyGivenUsernameForAnyUser() throws Exception {
public void requestPasswordReset_shouldCreateUserActivationKeyWhenUnauthenticatedWithValidUsername() throws Exception {
User user = setUpUser("butch");
assertNull(dao.getLoginCredential(user).getActivationKey());
assertNotNull(user.getUsername());
Expand Down

0 comments on commit 0069c6b

Please sign in to comment.