diff --git a/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php b/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php index 2fc26e2..c3e4fd1 100644 --- a/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php @@ -436,16 +436,4 @@ public function testValidate() { $this->assertNotIdentical($validate, $validate_deleted, 'Master display has not been validated.'); } - /** - * Tests the getEntityTypes() method. - */ - public function testGetEntityTypes() { - // Test a view that should return no entity types. - $view = Views::getView('test_view'); - $this->assertIdentical($view->getEntityTypes(), array(), 'No entity types were returned.'); - // The base entity type (node) and relationships should be returned. - $view = Views::getView('test_destroy'); - $this->assertIdentical($view->getEntityTypes(), array('node', 'comment', 'user'), 'The expected entity types were returned.'); - } - }