function UpdateTestBase::assertUpdateTableTextNotContains
Same name in other branches
- 9 core/modules/update/tests/src/Functional/UpdateTestBase.php \Drupal\Tests\update\Functional\UpdateTestBase::assertUpdateTableTextNotContains()
- 10 core/modules/update/tests/src/Functional/UpdateTestBase.php \Drupal\Tests\update\Functional\UpdateTestBase::assertUpdateTableTextNotContains()
Asserts that the update table text does not contain the specified text.
Parameters
string $text: The expected text.
2 calls to UpdateTestBase::assertUpdateTableTextNotContains()
- UpdateSemverContribTestBase::testUpdatesLegacyToSemver in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverContribTestBase.php - Tests updates from legacy versions to the semver versions.
- UpdateTestBase::confirmUnsupportedStatus in core/
modules/ update/ tests/ src/ Functional/ UpdateTestBase.php - Confirms messages are correct when a release has been marked unsupported.
File
-
core/
modules/ update/ tests/ src/ Functional/ UpdateTestBase.php, line 255
Class
- UpdateTestBase
- Defines some shared functions used by all update tests.
Namespace
Drupal\Tests\update\FunctionalCode
protected function assertUpdateTableTextNotContains($text) {
$this->assertSession()
->elementTextNotContains('css', $this->updateTableLocator, $text);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.