From b88a5f648f3adf4f5451a32833bd0cc4e5fb5d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Weber?= Date: Mon, 18 Nov 2024 09:02:05 +0100 Subject: [PATCH] #311 some cleanup --- .../src/test/java/org/swisspush/gateleen/hook/ListenerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateleen-test/src/test/java/org/swisspush/gateleen/hook/ListenerTest.java b/gateleen-test/src/test/java/org/swisspush/gateleen/hook/ListenerTest.java index 116a5afa..081483a2 100755 --- a/gateleen-test/src/test/java/org/swisspush/gateleen/hook/ListenerTest.java +++ b/gateleen-test/src/test/java/org/swisspush/gateleen/hook/ListenerTest.java @@ -999,7 +999,7 @@ public void testHookHandleSearch_EmptyQueryParameter(TestContext context) { Response response = searchWithQueryParam("q","",400); - Assert.assertTrue(response.getBody().asString().contains("Bad Request")); + Assert.assertTrue(response.getBody().asString().contains("Only the 'q' parameter is allowed and can't be empty or null")); TestUtils.unregisterListener(defaultRegisterUrlListener); async.complete();