diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/ViewEditTest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/ViewEditTest.php index 18197df..5e6cf5e 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/ViewEditTest.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/ViewEditTest.php @@ -7,6 +7,8 @@ namespace Drupal\views_ui\Tests; +use Drupal\views\Plugin\Core\Entity\View; + /** * Tests some general functionality of editing views, like deleting a view. */ @@ -40,6 +42,7 @@ public function testDeleteLink() { $this->assertUrl('admin/structure/views'); $view = $this->container->get('plugin.manager.entity')->getStorageController('view')->load('test_view'); + $this->assertTrue($view instanceof View); debug($view); }