Skip to content

Commit f0abf7f

Browse files
committed
work
1 parent ba34b02 commit f0abf7f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/org/woehlke/java/simpleworklist/domain/db/user/UserAccountPasswordRecoveryServiceIT.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
import java.util.UUID;
2323

2424
import static org.hamcrest.Matchers.containsString;
25-
import static org.junit.jupiter.api.Assertions.assertNotNull;
26-
import static org.junit.jupiter.api.Assertions.assertTrue;
25+
import static org.junit.jupiter.api.Assertions.*;
2726
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
2827
import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print;
2928
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.model;
@@ -124,7 +123,7 @@ public void testEnterNewPasswordFormularWithToken() {
124123
assertNotNull(o);
125124
boolean result = o.getDoubleOptInStatus() == UserAccountPasswordRecoveryStatus.PASSWORD_RECOVERY_SAVED_EMAIL
126125
|| o.getDoubleOptInStatus() == UserAccountPasswordRecoveryStatus.PASSWORD_RECOVERY_SENT_EMAIL;
127-
assertTrue(result);
126+
assertFalse(result);
128127
String url = "/user/resetPassword/confirm/" + o.getToken();
129128
try {
130129
this.mockMvc.perform(

0 commit comments

Comments
 (0)