diff --git a/core/modules/rest/tests/src/Functional/EntityResource/Node/NodeResourceTestBase.php b/core/modules/rest/tests/src/Functional/EntityResource/Node/NodeResourceTestBase.php index aa1f608..8f234ea 100644 --- a/core/modules/rest/tests/src/Functional/EntityResource/Node/NodeResourceTestBase.php +++ b/core/modules/rest/tests/src/Functional/EntityResource/Node/NodeResourceTestBase.php @@ -194,6 +194,30 @@ protected function getNormalizedPostEntity() { } /** + * @return array + */ + protected function getNormalizedPatchEntity() { + return [ + 'type' => [ + [ + 'target_id' => 'camelids', + ], + ], + 'title' => [ + [ + 'value' => 'Dramallama', + ], + ], + 'revision_uid' => [ + [ + 'value' => -1, + ], + ], + ]; + } + + + /** * {@inheritdoc} */ protected function getExpectedUnauthorizedAccessMessage($method) {