diff --git a/core/modules/node/lib/Drupal/node/Tests/Views/FilterUidRevisionTest.php b/core/modules/node/lib/Drupal/node/Tests/Views/FilterUidRevisionTest.php index 67b4cba..4c71a6d 100644 --- a/core/modules/node/lib/Drupal/node/Tests/Views/FilterUidRevisionTest.php +++ b/core/modules/node/lib/Drupal/node/Tests/Views/FilterUidRevisionTest.php @@ -37,11 +37,11 @@ public function testFilter() { $expected_result = array(); // Create one node, with the author as the node author. - $node = $this->drupalCreateNode(array('uid' => $author->id())); + $this->drupalCreateNode(array('uid' => $author->id())); $expected_result[] = array('nid' => $node->id()); // Create one node of which an additional revision author will be the // author. - $node = $this->drupalCreateNode(array('revision_uid' => $no_author->id())); + $this->drupalCreateNode(array('revision_uid' => $no_author->id())); $expected_result[] = array('nid' => $node->id()); $revision = clone $node; // Force to add a new revision. @@ -51,7 +51,7 @@ public function testFilter() { // Create one node on which the author has neither authorship of revisions // or the main node. - $node = $this->drupalCreateNode(array('uid' => $no_author->id())); + $this->drupalCreateNode(array('uid' => $no_author->id())); $view = views_get_view('test_filter_node_uid_revision'); $view->initHandlers();