diff --git a/core/modules/editor/lib/Drupal/editor/Tests/EditorLoadingTest.php b/core/modules/editor/lib/Drupal/editor/Tests/EditorLoadingTest.php index 854add7..755c2c0 100644 --- a/core/modules/editor/lib/Drupal/editor/Tests/EditorLoadingTest.php +++ b/core/modules/editor/lib/Drupal/editor/Tests/EditorLoadingTest.php @@ -39,7 +39,7 @@ function setUp() { 'weight' => 0, 'filters' => array(), )); - $filtered_html_format->save() + $filtered_html_format->save(); $full_html_format = entity_create('filter_format', array( 'format' => 'full_html', 'name' => 'Full HTML', diff --git a/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php b/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php index 08debd6..7be0747 100644 --- a/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php +++ b/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php @@ -21,7 +21,7 @@ class EditorManagerTest extends DrupalUnitTestBase { * * @var array */ - public static $modules = array('filter', 'editor'); + public static $modules = array('user', 'editor'); /** * The manager for text editor plugins. @@ -42,6 +42,7 @@ function setUp() { parent::setUp(); // Install the Filter module. + $this->installSchema('user', 'role'); $this->enableModules(array('filter')); // Add text formats. @@ -51,7 +52,7 @@ function setUp() { 'weight' => 0, 'filters' => array(), )); - $filtered_html_format->save() + $filtered_html_format->save(); $full_html_format = entity_create('filter_format', array( 'format' => 'full_html', 'name' => 'Full HTML',