You are here

function sweaverEditor::setUp in Sweaver 7

Same name and namespace in other branches
  1. 6 tests/sweaver.editor.test \sweaverEditor::setUp()

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

tests/sweaver.editor.test, line 23
Basic tests for sweaver frontend editor.

Class

sweaverEditor
@file Basic tests for sweaver frontend editor.

Code

function setUp() {
  parent::setUp('ctools', 'sweaver');
  $this->admin_user = $this
    ->drupalCreateUser(array(
    'use editor',
    'configure sweaver',
  ));
  $this
    ->drupalLogin($this->admin_user);
}