diff --git a/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php b/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php index 67ec856..212cb4de 100644 --- a/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php +++ b/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php @@ -122,7 +122,7 @@ public function testIsLocked() { public function testSerialization() { // Set a container so the DependencySerializationTrait has it. $container = new ContainerBuilder(); - $entity_type = $this->getMock('\Drupal\views\ViewEntityInterface'); + $entity_type = $this->getMock('\Drupal\Core\Config\Entity\ConfigEntityTypeInterface'); $entity_manager = $this->getMock('\Drupal\Core\Entity\EntityManagerInterface'); $entity_manager->expects($this->any()) ->method('getDefinition')