function FilePrivateTestCase::setUp

Overrides FileFieldTestCase::setUp

File

modules/file/tests/file.test, line 1569

Class

FilePrivateTestCase
Tests file access on private nodes.

Code

function setUp() {
    parent::setUp(array(
        'node_access_test',
        'field_test',
    ));
    node_access_rebuild();
    variable_set('node_access_test_private', TRUE);
}

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