You are here

public function ItCookieComplianceTestCase::setUp in IT Cookie Compliance 7

Override setUp.

Overrides DrupalWebTestCase::setUp

File

./it_cookie_compliance.test, line 27
IT Cookie Compliance module test file.

Class

ItCookieComplianceTestCase
Tests the functionality of the Simpletest example content type.

Code

public function setUp() {
  parent::setUp(array(
    'it_cookie_compliance',
  ));

  // Set block to /misc/jquery.once.js and misc/drupal.js
  variable_set('it_cookie_compliance_javascript', 'jquery');

  // Set block to block-system-main
  variable_set('it_cookie_compliance_blocks', 'main');
}