function D8CacheUnitTestCase::setUp in Drupal 8 Cache Backport 7
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
- ./
d8cache.test, line 21 - Drupal 8 Caching backport tests.
Class
- D8CacheUnitTestCase
- Test the Drupal 8 caching backport.
Code
function setUp() {
parent::setUp('d8cache');
}