You are here

public function KernelTestBaseTest::testVerbose in Drupal 9

Tests the deprecation of AssertLegacyTrait::verbose().

@group legacy

File

core/tests/Drupal/KernelTests/KernelTestBaseTest.php, line 407

Class

KernelTestBaseTest
@coversDefaultClass \Drupal\KernelTests\KernelTestBase

Namespace

Drupal\KernelTests

Code

public function testVerbose() {
  $this
    ->expectDeprecation('AssertLegacyTrait::verbose() is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use dump() instead. See https://www.drupal.org/node/3197514');
  $this
    ->verbose('The show must go on');
}