diff --git a/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewUIObjectTest.php b/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewUIObjectTest.php index 3c42487..94870a6 100644 --- a/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewUIObjectTest.php +++ b/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewUIObjectTest.php @@ -45,7 +45,8 @@ public function testEntityDecoration() { // EntityInterface::isNew() is missing from the list of methods, because it // calls id(), which breaks the ->expect($this->once()) call. Call it later. - if ($reflection_method->getName() != 'isNew') { + // EntityInterface::isSyncing() is only called during syncing process. + if ($reflection_method->getName() != 'isNew' && $reflection_method->getName() != 'isSyncing') { if (count($reflection_method->getParameters()) == 0) { $method_args[$reflection_method->getName()] = array(); }