public function CKEditor4to5UpgradeCompletenessTest::testSettingsWithTestOnlyModule in Drupal 10
Tests that the test-only CKEditor 4 module does not have an upgrade path.
File
- core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor4to5UpgradeCompletenessTest.php, line 164
Class
- CKEditor4to5UpgradeCompletenessTest
- @covers \Drupal\ckeditor5\Plugin\CKEditor4To5Upgrade\Core @group ckeditor5 @internal
Namespace
Drupal\Tests\ckeditor5\KernelCode
public function testSettingsWithTestOnlyModule() : void {
$this
->enableModules([
'ckeditor_test',
]);
$this->cke4PluginManager = $this->container
->get('plugin.manager.ckeditor.plugin');
$this
->expectException(\OutOfBoundsException::class);
$this
->expectExceptionMessage('No upgrade path found for the "llama_contextual_and_button" plugin settings.');
$this
->testSettings();
}