protected function ScaldGalleryTestCase::setUp in Scald: Gallery 7.2
Sets up a Drupal site for running functional and integration tests.
Overrides ScaldWebTestCase::setUp
File
- tests/
scald_gallery.test, line 26 - Tests for scald_gallery.module.
Class
- ScaldGalleryTestCase
- Test the Scald Gallery functionality.
Code
protected function setUp() {
parent::setUp(array(
'scald_image',
'scald_gallery',
'mee',
));
$this->web_user = $this
->drupalCreateUser(array(
'create atom of gallery type',
'view any atom',
'fetch any atom',
'edit own atom',
));
$this
->drupalLogin($this->web_user);
}