function ThemeUpdateTest::doSelectionTest

Same name in other branches
  1. 10 core/modules/system/tests/src/Functional/Theme/ThemeUpdateTest.php \Drupal\Tests\system\Functional\Theme\ThemeUpdateTest::doSelectionTest()
  2. 11.x core/modules/system/tests/src/Functional/Theme/ThemeUpdateTest.php \Drupal\Tests\system\Functional\Theme\ThemeUpdateTest::doSelectionTest()

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\Theme

Code

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.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.