summaryrefslogtreecommitdiffstats
path: root/core/modules/system/src/Tests/Entity/EntityCrudHookTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/src/Tests/Entity/EntityCrudHookTest.php')
-rw-r--r--core/modules/system/src/Tests/Entity/EntityCrudHookTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/system/src/Tests/Entity/EntityCrudHookTest.php b/core/modules/system/src/Tests/Entity/EntityCrudHookTest.php
index 3e040a4..c659194 100644
--- a/core/modules/system/src/Tests/Entity/EntityCrudHookTest.php
+++ b/core/modules/system/src/Tests/Entity/EntityCrudHookTest.php
@@ -450,7 +450,7 @@ class EntityCrudHookTest extends EntityUnitTestBase {
));
$GLOBALS['entity_crud_hook_test'] = array();
- $vocabulary->name = 'New name';
+ $vocabulary->set('name', 'New name');
$vocabulary->save();
$this->assertHookMessageOrder(array(