Skip to content

Commit

Permalink
fix: testInvalidEndpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 committed Oct 6, 2023
1 parent 640f163 commit 3ba5e7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
}
Expand Down

0 comments on commit 3ba5e7e

Please sign in to comment.