You are here

protected function FacetSummaryResourceTestBase::getExpectedNormalizedEntity in Facets 8

Returns the expected normalization of the entity.

Return value

array

Overrides EntityResourceTestBase::getExpectedNormalizedEntity

See also

::createEntity()

File

modules/facets_summary/tests/src/Functional/Rest/FacetSummaryResourceTestBase.php, line 56

Class

FacetSummaryResourceTestBase
Class FacetSummaryResourceTestBase.

Namespace

Drupal\Tests\facets_summary\Functional\Rest

Code

protected function getExpectedNormalizedEntity() {
  return [
    'dependencies' => [],
    'facet_source_id' => NULL,
    'facets' => [],
    'id' => 'tapir',
    'langcode' => 'en',
    'name' => 'Tapir',
    'processor_configs' => [],
    'status' => TRUE,
    'uuid' => 'tapir-uuid',
  ];
}