public function SlickCrudTest::setUp in Slick Carousel 7.3
Overrides DrupalWebTestCase::setUp.
Overrides DrupalWebTestCase::setUp
File
- tests/
SlickCrudTest.test, line 54
Class
- SlickCrudTest
- Tests the Slick optionsets, configuration options and permission controls.
Code
public function setUp() {
parent::setUp('libraries', 'ctools', 'jquery_update', 'registry_autoload', 'blazy', 'slick', 'slick_ui');
// @todo recheck if needed.
$this->profile = 'testing';
// Create users.
$this->adminUser = $this
->drupalCreateUser([
'administer slick',
]);
$this->anyUser = $this
->drupalCreateUser([
'access administration pages',
]);
}