From ce03904323068b979e926763f353aba3c4e447b1 Mon Sep 17 00:00:00 2001 From: Jared Hendrickson Date: Tue, 15 Aug 2023 19:12:49 -0600 Subject: [PATCH] tests: fixed error code in Response tests --- .../files/etc/inc/api/tests/APICoreResponseTestCase.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfSense-pkg-API/files/etc/inc/api/tests/APICoreResponseTestCase.inc b/pfSense-pkg-API/files/etc/inc/api/tests/APICoreResponseTestCase.inc index 297062845..93240e8c4 100644 --- a/pfSense-pkg-API/files/etc/inc/api/tests/APICoreResponseTestCase.inc +++ b/pfSense-pkg-API/files/etc/inc/api/tests/APICoreResponseTestCase.inc @@ -66,7 +66,7 @@ class APICoreResponseTestCase extends API\Core\TestCase { $this->assert_equals( $response->to_representation(), [ - "code" => 500, + "code" => 400, "status" => $response->get_http_status_message(400), "response_id" => "TEST_RESPONSE_ID2", "message" => "Test message 2",