diff --git a/core/modules/system/lib/Drupal/system/Tests/Form/ModuleListFormWebTest.php b/core/modules/system/lib/Drupal/system/Tests/Form/ModuleListFormWebTest.php index 69d59f1..bc28a81 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Form/ModuleListFormWebTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Form/ModuleListFormWebTest.php @@ -1,7 +1,8 @@ drupalCreateUser(array('administer modules')); - $this->drupalLogin($user); + public function testModuleListForm() { + $this->drupalLogin($this->drupalCreateUser(array('administer modules'))); $this->drupalGet('admin/modules'); $this->assertResponse('200');