Skip to content
Snippets Groups Projects
Commit 98631833 authored by catch's avatar catch
Browse files

Issue #3169866 by shetpooja04, longwave: Remove unused variable $target and...

Issue #3169866 by shetpooja04, longwave: Remove unused variable $target and $button in CKEditorIntegrationTest.php, media_library.module
parent 6be889d5
No related branches found
No related tags found
No related merge requests found
......@@ -171,8 +171,8 @@ public function testConfigurationValidation() {
$targetSelector = 'ul.ckeditor-toolbar-group-buttons';
$buttonSelector = 'li[data-drupal-ckeditor-button-name="DrupalMediaLibrary"]';
$this->assertNotEmpty($target = $assert_session->waitForElementVisible('css', $targetSelector));
$this->assertNotEmpty($button = $assert_session->elementExists('css', $buttonSelector));
$this->assertNotEmpty($assert_session->waitForElementVisible('css', $targetSelector));
$this->assertNotEmpty($assert_session->elementExists('css', $buttonSelector));
$this->sortableTo($buttonSelector, 'ul.ckeditor-available-buttons', $targetSelector);
$page->pressButton('Save configuration');
$assert_session->pageTextContains('The Embed media filter must be enabled to use the Insert from Media Library button.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment