public function JuiceboxFileCase::setUp in Juicebox HTML5 Responsive Image Galleries 7.2
Define setup tasks.
Overrides DrupalWebTestCase::setUp
File
- tests/
JuiceboxFileCase.test, line 27 - Test case for Juicebox file handling.
Class
- JuiceboxFileCase
- Class to define test case for Juicebox file handling.
Code
public function setUp() {
parent::setUp('juicebox');
// Create and login user.
$this->webUser = $this
->drupalCreateUser(array(
'access content',
'access administration pages',
'administer site configuration',
'administer content types',
'administer nodes',
'create article content',
'edit any article content',
'delete any article content',
'administer image styles',
'administer fields',
));
$this
->drupalLogin($this->webUser);
}