.../tests/src/Functional/EntityResource/EntityResourceTestBase.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php index 97a3941..ab763a8 100644 --- a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php +++ b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php @@ -768,8 +768,7 @@ public function testPost() { // DX: 400 when unparseable request body. $response = $this->request('POST', $url, $request_options); - // @todo this is apparently JSON-specific -// $this->assertResourceErrorResponse(400, 'Syntax error', $response); + $this->assertResourceErrorResponse(400, 'Syntax error', $response); $request_options[RequestOptions::BODY] = $parseable_invalid_request_body; @@ -1001,8 +1000,7 @@ public function testPatch() { // DX: 400 when unparseable request body. $response = $this->request('PATCH', $url, $request_options); - // @todo this is apparently JSON-specific -// $this->assertResourceErrorResponse(400, 'Syntax error', $response); + $this->assertResourceErrorResponse(400, 'Syntax error', $response);