You are here

public function PrivateTestCase::setUp in Private 7.2

Same name and namespace in other branches
  1. 7 private.test \PrivateTestCase::setUp()

Enable modules and create user with specific permissions.

Overrides DrupalWebTestCase::setUp

File

./private.test, line 20
Tests for private module.

Class

PrivateTestCase
@file Tests for private module.

Code

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