function AssertLegacyTrait::pass
Same name in other branches
- 9 core/tests/Drupal/KernelTests/AssertLegacyTrait.php \Drupal\KernelTests\AssertLegacyTrait::pass()
Deprecated Scheduled for removal in Drupal 10.0.0. Use self::assertTrue() instead.
See also
\Drupal\simpletest\TestBase::pass()
5 calls to AssertLegacyTrait::pass()
- ConfigImporterTest::testConfigGetConfigDirectory in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterTest.php - Tests config_get_config_directory().
- InvalidDataTest::testInsertDuplicateData in core/
tests/ Drupal/ KernelTests/ Core/ Database/ InvalidDataTest.php - Tests aborting of traditional SQL database systems with invalid data.
- InvalidDataTest::testInsertDuplicateDataFromSelect in core/
tests/ Drupal/ KernelTests/ Core/ Database/ InvalidDataTest.php - Tests inserting with invalid data from a select query.
- LangcodeToAsciiUpdateTest::testLangcodeColumnCollation in core/
modules/ system/ tests/ src/ Functional/ Entity/ Update/ LangcodeToAsciiUpdateTest.php - Tests that the column collation has been updated on MySQL.
- ThroughUITest::testThroughUi in core/
modules/ simpletest/ tests/ src/ Functional/ ThroughUITest.php - This test method must always pass.
File
-
core/
tests/ Drupal/ KernelTests/ AssertLegacyTrait.php, line 89
Class
- AssertLegacyTrait
- Translates Simpletest assertion methods to PHPUnit.
Namespace
Drupal\KernelTestsCode
protected function pass($message) {
$this->assertTrue(TRUE, $message);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.