You are here

public function MediaCkeditorTestHelper::setUp in Media CKEditor 7.2

Enable media and file entity modules for testing.

Overrides DrupalWebTestCase::setUp

1 call to MediaCkeditorTestHelper::setUp()
MediaCkeditorViewModeTestHelper::setUp in tests/media_ckeditor.test
Set up function.
1 method overrides MediaCkeditorTestHelper::setUp()
MediaCkeditorViewModeTestHelper::setUp in tests/media_ckeditor.test
Set up function.

File

tests/media_ckeditor.test, line 16
Tests for media_ckeditor.module.

Class

MediaCkeditorTestHelper
Defines base class for media test cases.

Code

public function setUp() {
  $modules = func_get_args();
  if (isset($modules[0]) && is_array($modules[0])) {
    $modules = $modules[0];
  }
  $modules[] = 'media_ckeditor';
  $modules[] = 'media_wysiwyg';
  $modules[] = 'media';
  $modules[] = 'file_entity';
  $modules[] = 'token';
  $modules[] = 'views';
  $modules[] = 'ctools';
  parent::setUp($modules);
}