You are here

protected function FacetSourceResourceTestBase::getExpectedNormalizedEntity in Facets 8

Returns the expected normalization of the entity.

Return value

array

Overrides EntityResourceTestBase::getExpectedNormalizedEntity

See also

::createEntity()

File

tests/src/Functional/Rest/FacetSourceResourceTestBase.php, line 56

Class

FacetSourceResourceTestBase
Class FacetSourceResourceTestBase.

Namespace

Drupal\Tests\facets\Functional\Rest

Code

protected function getExpectedNormalizedEntity() {
  return [
    'breadcrumb' => [],
    'dependencies' => [],
    'filter_key' => NULL,
    'id' => 'red_panda',
    'langcode' => 'en',
    'name' => 'Red panda',
    'uuid' => 'red-panda-uuid',
    'status' => TRUE,
    'url_processor' => 'query_string',
  ];
}