core/modules/editor/lib/Drupal/editor/Tests/EditorAdminTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/modules/editor/lib/Drupal/editor/Tests/EditorAdminTest.php b/core/modules/editor/lib/Drupal/editor/Tests/EditorAdminTest.php index b84d259..aab1098 100644 --- a/core/modules/editor/lib/Drupal/editor/Tests/EditorAdminTest.php +++ b/core/modules/editor/lib/Drupal/editor/Tests/EditorAdminTest.php @@ -89,8 +89,7 @@ function testWithoutEditorAvailable() { $edit = array( 'editor' => 'unicorn', ); -// $this->drupalPostAjax(NULL, $edit, 'editor_configure'); -$this->drupalPost(NULL, $edit, t('Configure')); + $this->drupalPostAjax(NULL, $edit, 'editor_configure'); $unicorn_setting_foo = $this->xpath('//input[@name="editor_settings[foo]" and @type="text" and @value="bar"]'); $this->assertTrue(count($unicorn_setting_foo), "Unicorn Editor's settings form is present."); $options = $this->xpath('//select[@name="editor"]/option'); @@ -101,7 +100,6 @@ function testWithoutEditorAvailable() { // Verify the editor configuration is saved correctly. $editor = editor_load('filtered_html'); -debug($editor); $this->assertIdentical($editor->editor, 'unicorn', 'The text editor is configured correctly.'); $this->assertIdentical($editor->settings, array('foo' => 'baz'), 'The text editor settings are stored correctly'); $this->drupalGet('admin/config/content/formats/filtered_html');