diff --git a/core/modules/user/lib/Drupal/user/Tests/Views/UserTestBase.php b/core/modules/user/lib/Drupal/user/Tests/Views/UserTestBase.php index c47ad71..0b4df3d 100644 --- a/core/modules/user/lib/Drupal/user/Tests/Views/UserTestBase.php +++ b/core/modules/user/lib/Drupal/user/Tests/Views/UserTestBase.php @@ -41,7 +41,7 @@ protected function setUp() { ViewTestData::createTestViews(get_class($this), array('user_test_views')); - $this->users[] = $this->drupalCreateUser(array('access user profiles')); + $this->users[] = $this->drupalCreateUser(); $this->users[] = user_load(1); $this->nodes[] = $this->drupalCreateNode(array('uid' => $this->users[0]->id())); $this->nodes[] = $this->drupalCreateNode(array('uid' => 1));