You are here

public function FileEntityCreationTest::setUp in File Entity (fieldable files) 8.2

Overrides FileEntityTestBase::setUp

File

tests/src/Functional/FileEntityCreationTest.php, line 24

Class

FileEntityCreationTest
Tests creating and saving a file.

Namespace

Drupal\Tests\file_entity\Functional

Code

public function setUp() {
  parent::setUp();
  $web_user = $this
    ->drupalCreateUser(array(
    'create files',
    'edit own document files',
    'administer files',
    'administer site configuration',
    'view private files',
  ));
  $this
    ->drupalLogin($web_user);
}