You are here

public function MediaBrowserPlusTestBase::setUp in Media Browser Plus 7.3

Prepare testing.

Declare dependencies and create admin user.

Overrides DrupalWebTestCase::setUp

File

tests/media_browser_plus.base.test, line 24
Media Browser Plus tests base.

Class

MediaBrowserPlusTestBase
Provides some basic functionality for all MBP tests.

Code

public function setUp() {
  parent::setUp(array(
    'file_entity',
    'media',
    'views_tree',
    'views_bulk_operations',
    'media_browser_plus',
  ));

  // Create user.
  $this->adminUser = $this
    ->drupalCreateUser(array(
    'administer files',
    'administer taxonomy',
  ));
}