public function BlazyTest::setUp in Blazy 7
Overrides DrupalWebTestCase::setUp.
Overrides DrupalWebTestCase::setUp
File
- tests/
Blazy.test, line 54
Class
- BlazyTest
- Tests the Blazy configuration options and permission controls.
Code
public function setUp() {
parent::setUp('file', 'image', 'libraries', 'registry_autoload', 'file_entity', 'media', 'blazy_ui', 'picture');
// Create users.
$this->adminUser = $this
->drupalCreateUser([
'administer blazy',
]);
$this->anyUser = $this
->drupalCreateUser([
'access administration pages',
]);
}