You are here

protected function ScaldDnDTestCase::setUp in Scald: Media Management made easy 7

Sets up a Drupal site for running functional and integration tests.

Overrides ScaldWebTestCase::setUp

File

tests/scald.test, line 537
Tests for scald.module.

Class

ScaldDnDTestCase
Test the Scald DnD functionality.

Code

protected function setUp() {
  parent::setUp(array(
    'scald_image',
    'scald_dnd_library',
  ));
  $this->web_user = $this
    ->drupalCreateUser(array(
    'create atom of image type',
    'view any atom',
    'fetch any atom',
    'edit own atom',
  ));
  $this
    ->drupalLogin($this->web_user);
}