You are here

protected function CommentTypeResourceTestBase::getNormalizedPostEntity in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentTypeResourceTestBase::getNormalizedPostEntity()
  2. 10 core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentTypeResourceTestBase::getNormalizedPostEntity()

Returns the normalized POST entity.

Return value

array

Overrides EntityResourceTestBase::getNormalizedPostEntity

See also

::testPost

File

core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php, line 73

Class

CommentTypeResourceTestBase
ResourceTestBase for CommentType entity.

Namespace

Drupal\Tests\comment\Functional\Rest

Code

protected function getNormalizedPostEntity() {

  // @todo Update in https://www.drupal.org/node/2300677.
}