function CKEditor4to5UpgradeCompletenessTest::testSettingsWithTestOnlyModule

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\Kernel

Code

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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.