function NodeJsonBasicAuthTest::getExpectedNormalizedEntity

Same name in other branches
  1. 10 core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php \Drupal\Tests\node\Functional\Rest\NodeJsonBasicAuthTest::getExpectedNormalizedEntity()

Overrides NodeResourceTestBase::getExpectedNormalizedEntity

File

core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php, line 52

Class

NodeJsonBasicAuthTest
@group rest

Namespace

Drupal\Tests\node\Functional\Rest

Code

protected function getExpectedNormalizedEntity() {
    $entity = parent::getExpectedNormalizedEntity();
    $entity['revision_log'] = [];
    return $entity;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.