diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/controllers/SubscriptionControllerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/controllers/SubscriptionControllerTest.java index 4ffbed3bb..86251cd4b 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/controllers/SubscriptionControllerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/controllers/SubscriptionControllerTest.java @@ -769,10 +769,10 @@ class SubscriptionControllerTest { @Test void testGetBankMandateInvalidBankTransferType() { - final Response response = RESOURCE_EXTENSION.target("/v1/subscription/ach") + final Response response = RESOURCE_EXTENSION.target("/v1/subscription/bank_mandate/ach") .request() .get(); - assertThat(response.getStatus()).isEqualTo(404); + assertThat(response.getStatus()).isEqualTo(400); } @ParameterizedTest