Skip to content

Commit

Permalink
[backend/frontend] Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
savacano28 committed Jan 3, 2025
1 parent 3f073a5 commit 653ef97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openbas-api/src/test/java/io/openbas/rest/UserApiTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void resetPasswordWithUnknownEmail() throws Exception {
post("/api/reset")
.contentType(MediaType.APPLICATION_JSON)
.content(asJsonString(input)))
.andExpect(status().isOk());
.andExpect(status().isBadRequest());

// -- ASSERT --
verify(mailingService, never()).sendEmail(anyString(), anyString(), any(List.class));
Expand Down

0 comments on commit 653ef97

Please sign in to comment.