class EditorGetUntransformedTextCommandTest

Tests the class \Drupal\editor\Ajax\GetUntransformedTextCommand deprecation.

@group editor @group legacy

Hierarchy

Expanded class hierarchy of EditorGetUntransformedTextCommandTest

File

core/modules/editor/tests/src/Kernel/EditorGetUntransformedTextCommandTest.php, line 14

Namespace

Drupal\Tests\editor\Kernel
View source
class EditorGetUntransformedTextCommandTest extends KernelTestBase {
  
  /**
   * Tests class \Drupal\editor\Ajax\GetUntransformedTextCommand deprecation.
   */
  public function testGetUntransformedTextCommandDeprecation() {
    $this->expectDeprecation('The Drupal\\editor\\Ajax\\GetUntransformedTextCommand is deprecated in drupal:9.5.0 and is removed from drupal:10.0.0. There is no replacement. See https://www.drupal.org/node/3271653');
    new GetUntransformedTextCommand('');
  }

}

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