function KernelAssertLegacyTraitTest::testAssertFalse

@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);
}

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