function NodeAccessExampleTestCase::setUp

Enable modules and create user with specific permissions.

Overrides DrupalWebTestCase::setUp

File

node_access_example/node_access_example.test, line 29

Class

NodeAccessExampleTestCase
Functional tests for the Node Access Example module.

Code

public function setUp() {
    parent::setUp('node_access_example', 'search');
    node_access_rebuild();
}