diff --git a/core/modules/file/src/Tests/FileListingTest.php b/core/modules/file/src/Tests/FileListingTest.php index 0b41afc..eb49534 100644 --- a/core/modules/file/src/Tests/FileListingTest.php +++ b/core/modules/file/src/Tests/FileListingTest.php @@ -33,7 +33,7 @@ class FileListingTest extends FileFieldTestBase { protected function setUp() { parent::setUp(); - $this->administratorUser = $this->drupalCreateUser(array('access files overview', 'bypass node access')); + $this->adminUser = $this->drupalCreateUser(array('access files overview', 'bypass node access')); $this->baseUser = $this->drupalCreateUser(); $this->createFileField('file', 'node', 'article', array(), array('file_extensions' => 'txt png')); } @@ -70,7 +70,7 @@ function testFileListingPages() { $this->assertResponse(403); // Login with user with right permissions and test listing. - $this->drupalLogin($this->administratorUser); + $this->drupalLogin($this->adminUser); for ($i = 0; $i < 5; $i++) { $nodes[] = $this->drupalCreateNode(array('type' => 'article'));