You are here

public function SlickTestCase::setUp in Slick Carousel 7.2

Overrides DrupalWebTestCase::setUp.

Overrides DrupalWebTestCase::setUp

File

tests/slick.test, line 53
Provides test cases for Slick carousel based on flexslider.test.

Class

SlickTestCase
Tests the Slick optionsets, configuration options and permission controls.

Code

public function setUp() {
  parent::setUp('libraries', 'ctools', 'jquery_update', 'slick', 'slick_ui');

  // Create users.
  $this->adminUser = $this
    ->drupalCreateUser(array(
    'administer slick',
  ));
  $this->anyUser = $this
    ->drupalCreateUser(array(
    'access administration pages',
  ));
}