diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeEntityFieldQueryAlterTest.php b/core/modules/node/lib/Drupal/node/Tests/NodeEntityFieldQueryAlterTest.php deleted file mode 100644 index 0a6a58b4abb..00000000000 --- a/core/modules/node/lib/Drupal/node/Tests/NodeEntityFieldQueryAlterTest.php +++ /dev/null @@ -1,65 +0,0 @@ - 'Node entity query alter', - 'description' => 'Test that node access entity queries are properly altered by the node module.', - 'group' => 'Node', - ); - } - - /** - * User with permission to view content. - */ - protected $accessUser; - - /** - * User without permission to view content. - */ - protected $noAccessUser; - - function setUp() { - parent::setUp(); - node_access_rebuild(); - - // Creating 4 nodes with an entity field so we can test that sort of query - // alter. All field values starts with 'A' so we can identify and fetch them - // in the node_access_test module. - $settings = array('langcode' => Language::LANGCODE_NOT_SPECIFIED); - for ($i = 0; $i < 4; $i++) { - $body = array( - 'value' => 'A' . $this->randomName(32), - 'format' => filter_default_format(), - ); - $settings['body'][0] = $body; - $this->drupalCreateNode($settings); - } - - // Create user with simple node access permission. The 'node test view' - // permission is implemented and granted by the node_access_test module. - $this->accessUser = $this->drupalCreateUser(array('access content', 'node test view')); - $this->noAccessUser = $this->drupalCreateUser(array('access content')); - } - -}