File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/test/java/org/woehlke/java/simpleworklist/domain/db/user Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2222import java .util .UUID ;
2323
2424import 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 .*;
2726import static org .springframework .test .web .servlet .request .MockMvcRequestBuilders .get ;
2827import static org .springframework .test .web .servlet .result .MockMvcResultHandlers .print ;
2928import 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 (
You can’t perform that action at this time.
0 commit comments