Skip to content

Commit

Permalink
fix test CKEditor4to5UpgradeCompletenessTest
Browse files Browse the repository at this point in the history
  • Loading branch information
WengerK committed Apr 5, 2024
1 parent 5259aaa commit 2c1974a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,18 @@ class CKEditor4to5UpgradeCompletenessTest extends Real {
* Tests that the test-only CKEditor 4 module does not have an upgrade path.
*/
public function testButtonsWithTestOnlyModule(): void {
// @phpstan-ignore-next-line
$this->enableModules(['ckeditor_test']);
// @phpstan-ignore-next-line
$this->cke4PluginManager = $this->container->get('plugin.manager.ckeditor.plugin');

// @phpstan-ignore-next-line
$this->expectException(\OutOfBoundsException::class);

// Since Drupal 10.0.x the Plugin name has changed LlamaCSS vs Llama.
// @phpstan-ignore-next-line
$this->expectExceptionMessageMatches('/^No upgrade path found for the "Llama(CSS)?" button\.$/');
// @phpstan-ignore-next-line
$this->testButtons();
}

Expand Down

0 comments on commit 2c1974a

Please sign in to comment.