From 6f166425fe8bdb7af8e8cb38c3ae178f59834231 Mon Sep 17 00:00:00 2001 From: Katherine Yen Date: Thu, 19 Oct 2023 16:11:20 -0700 Subject: [PATCH] Fix bank mandate test --- .../textsecuregcm/controllers/SubscriptionControllerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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