function UpdateTestBase::assertUpdateTableElementNotContains
Asserts that the update table element HTML contains the specified text.
Parameters
string $text: The expected text.
See also
\Behat\Mink\WebAssert::elementNotContains()
1 call to UpdateTestBase::assertUpdateTableElementNotContains()
- 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 263
Class
- UpdateTestBase
- Defines some shared functions used by all update tests.
Namespace
Drupal\Tests\update\FunctionalCode
protected function assertUpdateTableElementNotContains($text) {
$this->assertSession()
->elementNotContains('css', $this->updateTableLocator, $text);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.