public function MediaWysiwygTest::testNoMissingPluginForComment in Media Migration 8
Tests that a "MediaWysiwyg plugin was not found" message is not shown.
Content entity types whose entity type ID is not changed during the migration should work with the "fallback" MediaWysiwyg plugin.
File
- tests/
src/ Functional/ MediaWysiwygTest.php, line 22
Class
- MediaWysiwygTest
- Functional test for testing the MediaWysiwyg plugin's fallback logic.
Namespace
Drupal\Tests\media_migration\FunctionalCode
public function testNoMissingPluginForComment() {
$this
->submitMigrateUpgradeSourceConnectionForm();
$this
->assertSession()
->pageTextNotContains('Could not find a MediaWysiwyg plugin');
$this
->drupalGet(Url::fromRoute('dblog.overview'));
$this
->assertSession()
->pageTextNotContains('Could not find a MediaWysiwyg plugin');
}