You are here

public function CkeditorTest::setUp in CKEditor - WYSIWYG HTML editor 7

Setup the environment.

Overrides DrupalWebTestCase::setUp

File

tests/ckeditor.test, line 28
Contains ckeditorTest.

Class

CkeditorTest
Base class for ckeditor tests.

Code

public function setUp() {
  parent::setUp('ckeditor');
  $admin_user = $this
    ->drupalCreateUser(array(
    'administer ckeditor',
  ));
  $this
    ->drupalLogin($admin_user);
}