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 4ffbed3bb72053f052e325d99ba800ecb8dcbf24..86251cd4bb9714ba067ae729cf50ea1af14b27b0 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