protected function UpdateTestBase::assertUpdateTableTextNotContains in Drupal 9
Asserts that the update table text does not contain the specified text.
Parameters
string $text: The expected text.
3 calls to UpdateTestBase::assertUpdateTableTextNotContains()
- UpdateSemverTestBase::testMajorUpdateAvailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php - Tests the Update Manager module when a major update is available.
- UpdateSemverTestBase::testNormalUpdateAvailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php - Tests the Update Manager module when one normal update is available.
- UpdateSemverTestBase::testNoUpdatesAvailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php - Tests the Update Manager module when no updates are available.
File
- core/
modules/ update/ tests/ src/ Functional/ UpdateTestBase.php, line 273
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);
}