You are here

function ContentAccessModuleTestCase::setUp in Content Access 5

Same name and namespace in other branches
  1. 6 tests/content_access.test \ContentAccessModuleTestCase::setUp()
  2. 7 tests/content_access.test \ContentAccessModuleTestCase::setUp()

Preparation work that is done before each test. Test users, content types, nodes etc. are created.

Overrides ContentAccessTestCase::setUp

File

tests/content_access.test, line 26

Class

ContentAccessModuleTestCase

Code

function setUp() {
  parent::setUp();

  // Create test nodes
  $this->node1 = $this
    ->createNode();
  $this->node2 = $this
    ->createNode();
}