diff --git a/core/modules/rest/tests/src/Functional/EntityResource/MenuLinkContent/MenuLinkContentResourceTestBase.php b/core/modules/rest/tests/src/Functional/EntityResource/MenuLinkContent/MenuLinkContentResourceTestBase.php index 28a2ed6..c84acf8 100644 --- a/core/modules/rest/tests/src/Functional/EntityResource/MenuLinkContent/MenuLinkContentResourceTestBase.php +++ b/core/modules/rest/tests/src/Functional/EntityResource/MenuLinkContent/MenuLinkContentResourceTestBase.php @@ -24,7 +24,7 @@ * {@inheritdoc} */ protected static $patchProtectedFieldNames = [ - 'changed' + 'changed', ]; /** @@ -83,8 +83,8 @@ protected function getNormalizedPostEntity() { 'bundle' => [ [ 'value' => 'menu_link_content', - ] - ] + ], + ], ]; } @@ -93,85 +93,85 @@ protected function getNormalizedPostEntity() { */ protected function getExpectedNormalizedEntity() { return [ - 'uuid' => [ - [ - 'value' => $this->entity->uuid(), - ], - ], - 'id' => [ - [ - 'value' => '1', - ], - ], - 'title' => [ - [ - 'value' => 'Llama Gabilondo', - ], - ], - 'link' => [ - [ - 'uri' => 'https://nl.wikipedia.org/wiki/Llama', - 'title' => NULL, - 'options' => [], - ], - ], - 'weight' => [ - [ - 'value' => 0, - ], - ], - 'menu_name' => [ - [ - 'value' => 'main', - ], - ], - 'langcode' => [ - [ - 'value' => 'en', - ], - ], - 'bundle' => [ - [ - 'value' => 'menu_link_content', - ], - ], - 'description' => [ - [ - 'value' => 'Llama Gabilondo', - ], - ], - 'external' => [ - [ - 'value' => '0', - ], - ], - 'rediscover' => [ - [ - 'value' => '0', - ], - ], - 'expanded' => [ - [ - 'value' => '0', - ], - ], - 'enabled' => [ - [ - 'value' => TRUE, - ], - ], - 'changed' => [ - [ - 'value' => $this->entity->getChangedTime(), - ], - ], - 'default_langcode' => [ - [ - 'value' => '1', - ], - ], - 'parent' => [], - ]; + 'uuid' => [ + [ + 'value' => $this->entity->uuid(), + ], + ], + 'id' => [ + [ + 'value' => '1', + ], + ], + 'title' => [ + [ + 'value' => 'Llama Gabilondo', + ], + ], + 'link' => [ + [ + 'uri' => 'https://nl.wikipedia.org/wiki/Llama', + 'title' => NULL, + 'options' => [], + ], + ], + 'weight' => [ + [ + 'value' => 0, + ], + ], + 'menu_name' => [ + [ + 'value' => 'main', + ], + ], + 'langcode' => [ + [ + 'value' => 'en', + ], + ], + 'bundle' => [ + [ + 'value' => 'menu_link_content', + ], + ], + 'description' => [ + [ + 'value' => 'Llama Gabilondo', + ], + ], + 'external' => [ + [ + 'value' => '0', + ], + ], + 'rediscover' => [ + [ + 'value' => '0', + ], + ], + 'expanded' => [ + [ + 'value' => '0', + ], + ], + 'enabled' => [ + [ + 'value' => TRUE, + ], + ], + 'changed' => [ + [ + 'value' => $this->entity->getChangedTime(), + ], + ], + 'default_langcode' => [ + [ + 'value' => '1', + ], + ], + 'parent' => [], + ]; } /**