diff --git a/core/modules/tracker/lib/Drupal/tracker/Tests/Views/TrackerUserUidTest.php b/core/modules/tracker/lib/Drupal/tracker/Tests/Views/TrackerUserUidTest.php index c165a71..ca64eb3 100644 --- a/core/modules/tracker/lib/Drupal/tracker/Tests/Views/TrackerUserUidTest.php +++ b/core/modules/tracker/lib/Drupal/tracker/Tests/Views/TrackerUserUidTest.php @@ -52,7 +52,7 @@ public function testUserUid() { // Change the filter value to our user. $view->initHandlers(); - $view->filter['uid_touch_tracker']->value = $this->user->id(); + $view->filter['uid_touch_tracker']->value = $this->node->uid; $this->executeView($view); // We should have one result as the filter is set for the created user. @@ -70,7 +70,7 @@ public function testUserUid() { // Test the correct argument UID. $view->initHandlers(); - $this->executeView($view, array($this->user->id())); + $this->executeView($view, array($this->node->uid)); $this->assertIdenticalResultSet($view, $expected, $map); }