protected function ThemeUpdateTest::doSelectionTest in Drupal 10
Tests the selection page.
Overrides UpdatePathTestTrait::doSelectionTest
File
- core/
modules/ system/ tests/ src/ Functional/ Theme/ ThemeUpdateTest.php, line 48
Class
- ThemeUpdateTest
- Tests low-level theme functions.
Namespace
Drupal\Tests\system\Functional\ThemeCode
protected function doSelectionTest() {
// Ensure that the theme's post update appears as expected.
$this
->assertSession()
->responseContains('test_theme_depending_on_modules theme');
$this
->assertSession()
->responseContains('Install a dependent module.');
}