Return 403 when a push challenge is incorrect

This commit is contained in:
Ravi Khadiwala
2022-09-23 10:40:49 -05:00
committed by ravi-signal
parent 538a07542e
commit a79d709039
2 changed files with 29 additions and 32 deletions

View File

@@ -705,7 +705,7 @@ class AccountControllerTest {
.header("X-Forwarded-For", NICE_HOST)
.get();
assertThat(response.getStatus()).isEqualTo(402);
assertThat(response.getStatus()).isEqualTo(403);
verifyNoMoreInteractions(smsSender);
verifyNoMoreInteractions(abusiveHostRules);