You are here

public function AuthcacheP13nTestSettingBuilder::setUp in Authenticated User Page Caching (Authcache) 7.2

Sets up unit test environment.

Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.

Overrides DrupalUnitTestCase::setUp

File

modules/authcache_p13n/tests/authcache_p13n.request-handler.test, line 679
Define unit tests for request handler.

Class

AuthcacheP13nTestSettingBuilder
Tests update functionality unrelated to the database.

Code

public function setUp() {
  require_once __DIR__ . '/../includes/AuthcacheP13nSettingBuilder.inc';
  parent::setUp();
}