class EditorGetUntransformedTextCommandTest
Tests the class \Drupal\editor\Ajax\GetUntransformedTextCommand deprecation.
@group editor @group legacy
Hierarchy
- class \Drupal\KernelTests\KernelTestBase implements \Drupal\Core\DependencyInjection\ServiceProviderInterface uses \Drupal\KernelTests\AssertLegacyTrait, \Drupal\KernelTests\AssertContentTrait, \Drupal\Tests\RandomGeneratorTrait, \Drupal\Tests\ConfigTestTrait, \Drupal\Tests\ExtensionListTestTrait, \Drupal\Tests\TestRequirementsTrait, \Drupal\Tests\Traits\PhpUnitWarnings, \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait extends \PHPUnit\Framework\TestCase
- class \Drupal\Tests\editor\Kernel\EditorGetUntransformedTextCommandTest extends \Drupal\KernelTests\KernelTestBase
Expanded class hierarchy of EditorGetUntransformedTextCommandTest
File
-
core/
modules/ editor/ tests/ src/ Kernel/ EditorGetUntransformedTextCommandTest.php, line 14
Namespace
Drupal\Tests\editor\KernelView 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.