You are here

function ContentAccessACLTestCase::setUp in Content Access 6

Same name and namespace in other branches
  1. 5 tests/content_access_acl.test \ContentAccessACLTestCase::setUp()
  2. 7 tests/content_access_acl.test \ContentAccessACLTestCase::setUp()

Setup configuration before each test

Overrides ContentAccessTestCase::setUp

File

tests/content_access_acl.test, line 28

Class

ContentAccessACLTestCase

Code

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

  // Create test nodes
  $this->node = $this
    ->drupalCreateNode(array(
    'type' => $this->content_type_name,
  ));
}