You are here

function NodesInBlockTestCase::setUp in Nodes In Block 7

Implements setUp().

Overrides DrupalWebTestCase::setUp

File

./nodesinblock.test, line 23
Tests for Nodes in block

Class

NodesInBlockTestCase
@file Tests for Nodes in block

Code

function setUp() {
  parent::setUp('block', 'nodesinblock');
  $admin_user = $this
    ->drupalCreateUser(array(
    'bypass node access',
    'access administration pages',
    'administer blocks',
    'administer nodes',
    'administer nodes in block configuration',
    'administer nodes in block queue',
  ));
  $this
    ->drupalLogin($admin_user);
}