You are here

public function AuthcacheP13nTestFragmentAssemblyBuilder::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 516
Define unit tests for request handler.

Class

AuthcacheP13nTestFragmentAssemblyBuilder
Tests update functionality unrelated to the database.

Code

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