You are here

function BoxesBasicAjaxTestCase::setUp in Boxes 7

Same name and namespace in other branches
  1. 6 tests/boxes.test \BoxesBasicAjaxTestCase::setUp()

Implements setUp().

Overrides DrupalWebTestCase::setUp

File

tests/boxes.test, line 128

Class

BoxesBasicAjaxTestCase

Code

function setUp() {
  parent::setUp('ctools', 'context', 'boxes');

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