tests/src/Functional/CommentTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Functional/CommentTest.php b/tests/src/Functional/CommentTest.php index 07930a5..d436da8 100644 --- a/tests/src/Functional/CommentTest.php +++ b/tests/src/Functional/CommentTest.php @@ -293,7 +293,7 @@ class CommentTest extends ResourceTestBase { $request_options[RequestOptions::BODY] = Json::encode($remove_field($this->getNormalizedPostEntity(), 'attributes', 'entity_type')); $response = $this->request('POST', $url, $request_options); // @todo Uncomment, remove next line in https://www.drupal.org/node/2820364. - $this->assertResourceErrorResponse(500, 'Internal Server Error', 'The "" entity type does not exist.', $response); + $this->assertResourceErrorResponse(500, 'The "" entity type does not exist.', $response); // $this->assertResourceErrorResponse(422, 'Unprocessable Entity', 'entity_type: This value should not be null.', $response); // DX: 422 when missing 'entity_id' field.