public function ClassyTest::testRegressionMissingMessagesCss in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Theme/ClassyTest.php \Drupal\FunctionalTests\Theme\ClassyTest::testRegressionMissingMessagesCss()
- 9 core/tests/Drupal/FunctionalTests/Theme/ClassyTest.php \Drupal\FunctionalTests\Theme\ClassyTest::testRegressionMissingMessagesCss()
Tests that the Classy theme always adds its message CSS.
See also
File
- core/
tests/ Drupal/ FunctionalTests/ Theme/ ClassyTest.php, line 24
Class
- ClassyTest
- Tests the classy theme.
Namespace
Drupal\FunctionalTests\ThemeCode
public function testRegressionMissingMessagesCss() {
$this
->drupalGet('');
$this
->assertSession()
->statusCodeEquals(200);
$this
->assertSession()
->responseContains('classy/css/components/messages.css');
}