You are here

public function KernelAssertLegacyTraitTest::testAssertFalse in Drupal 8

@expectedDeprecation Support for asserting against non-boolean values in ::assertFalse is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use a different assert method, for example, ::assertEmpty(). See https://www.drupal.org/node/3082086

File

core/tests/Drupal/Tests/Core/Assert/KernelAssertLegacyTraitTest.php, line 27

Class

KernelAssertLegacyTraitTest
@coversDefaultClass \Drupal\KernelTests\AssertLegacyTrait @group Assert @group legacy

Namespace

Drupal\Tests\Core\Assert

Code

public function testAssertFalse() {
  $this
    ->assertFalse(0);
}