From 3ba5e7edac44bac5de0852fb16a05c0ebe9dc1d6 Mon Sep 17 00:00:00 2001 From: Mathieu De Keyzer Date: Fri, 6 Oct 2023 09:25:53 +0200 Subject: [PATCH] fix: testInvalidEndpoint --- .../tests/Functional/Handler/HttpHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EMS/submission-bundle/tests/Functional/Handler/HttpHandlerTest.php b/EMS/submission-bundle/tests/Functional/Handler/HttpHandlerTest.php index fc8055876..24deac6b3 100644 --- a/EMS/submission-bundle/tests/Functional/Handler/HttpHandlerTest.php +++ b/EMS/submission-bundle/tests/Functional/Handler/HttpHandlerTest.php @@ -100,7 +100,7 @@ public function testInvalidEndpoint(): void $message = \file_get_contents(__DIR__.'/../fixtures/twig/message_http.twig'); $this->assertEquals( - '{"status":"error","data":"Submission failed, contact your admin. (Invalid endpoint configuration: The option \"test\" does not exist. Defined options are: \"auth_basic\", \"auth_bearer\", \"headers\", \"ignore_body_value\", \"method\", \"query\", \"timeout\", \"url\".)"}', + '{"status":"error","data":"Submission failed, contact your admin. (Invalid endpoint configuration: The option \"test\" does not exist. Defined options are: \"auth_basic\", \"auth_bearer\", \"headers\", \"ignore_body_value\", \"max_redirects\", \"method\", \"query\", \"timeout\", \"url\".)"}', $this->handle($this->createForm(), $endpoint, $message)->getResponse() ); }