You are here

function ContextBlocksTestCase::setUp in Context 6.2

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

tests/context_blocks.test, line 19

Class

ContextBlocksTestCase

Code

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

  // Create and login user
  $admin_user = $this
    ->drupalCreateUser(array(
    'administer blocks',
  ));
  $this
    ->drupalLogin($admin_user);
}