.../tests/src/Functional/EntityResource/EntityResourceTestBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php index d8c35bb..ca0dc6b 100644 --- a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php +++ b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php @@ -140,7 +140,7 @@ public function setUp() { $this->entity = $this->entityStorage->loadUnchanged($this->entity->id()); // Set a default value on the field. - $this->entity->set('field_rest_test', ['value' => 'Crias are the cutest!']); + $this->entity->set('field_rest_test', ['value' => 'All the faith he had had had had no effect on the outcome of his life.']); // @todo remove this if-test and its containing code when https://www.drupal.org/node/2808335 is fixed. if ($this->entity instanceof EntityChangedInterface) { $changed = $this->entity->getChangedTime(); @@ -697,7 +697,7 @@ public function testPatch() { // Ensure that fields do not get deleted if they're not present in the PATCH // request. Test this using the configurable field that we added, but which // is not sent in the PATCH request. - $this->assertSame('Crias are the cutest!', $this->entityStorage->loadUnchanged($this->entity->id())->get('field_rest_test')->value); + $this->assertSame('All the faith he had had had had no effect on the outcome of his life.', $this->entityStorage->loadUnchanged($this->entity->id())->get('field_rest_test')->value); $this->config('rest.settings')->set('bc_entity_resource_permissions', TRUE)->save(TRUE);