You are here

public function SimpleAccessOwnerTestCase::setUp in Simple Access 8.3

Same name and namespace in other branches
  1. 6.2 simple_access.test \SimpleAccessOwnerTestCase::setUp()
  2. 7.2 simple_access.test \SimpleAccessOwnerTestCase::setUp()

File

./simple_access.test, line 27
Tests to check that simple access is working correctly.

Class

SimpleAccessOwnerTestCase
Test Owner permissions.

Code

public function setUp() {
  parent::setUp('simple_access');
  $this->node_type = $this
    ->drupalCreateContentType();
  node_access_rebuild();
}