protected function EditorAdminTest::enableUnicornEditor

Enables the unicorn editor.

2 calls to EditorAdminTest::enableUnicornEditor()
EditorAdminTest::testAddEditorToExistingFormat in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditorAdminTest.php
Tests adding a text editor to an existing text format.
EditorAdminTest::testAddEditorToNewFormat in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditorAdminTest.php
Tests adding a text editor to a new text format.

File

drupal/core/modules/editor/lib/Drupal/editor/Tests/EditorAdminTest.php, line 106
Definition of \Drupal\editor\Tests\EditorAdminTest.

Class

EditorAdminTest
Tests administration of text editors.

Namespace

Drupal\editor\Tests

Code

protected function enableUnicornEditor() {
  module_enable(array(
    'editor_test',
  ));
  $this
    ->rebuildContainer();
  $this
    ->resetAll();
}