diff --git a/core/modules/menu_ui/src/Tests/MenuCacheTagsTest.php b/core/modules/menu_ui/src/Tests/MenuCacheTagsTest.php index 4a19182..1923b0d 100644 --- a/core/modules/menu_ui/src/Tests/MenuCacheTagsTest.php +++ b/core/modules/menu_ui/src/Tests/MenuCacheTagsTest.php @@ -60,7 +60,7 @@ public function testMenuBlock() { // Verify that after modifying the menu, there is a cache miss. $this->pass('Test modification of menu.', 'Debug'); - $menu->label = 'Awesome llama'; + $menu->set('label', 'Awesome llama'); $menu->save(); $this->verifyPageCache($path, 'MISS');