function NodePageCacheTest::setUp

Overrides NodeWebTestCase::setUp

File

modules/node/node.test, line 3039

Class

NodePageCacheTest
Tests the cache invalidation of node operations.

Code

function setUp() {
    parent::setUp();
    variable_set('cache', 1);
    variable_set('page_cache_maximum_age', 300);
    $this->admin_user = $this->drupalCreateUser(array(
        'bypass node access',
        'access content overview',
        'administer nodes',
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.