function ClassyTest::testRegressionMissingMessagesCss
Same name in other branches
- 8.9.x 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/
themes/ classy/ tests/ src/ Functional/ ClassyTest.php, line 25
Class
- ClassyTest
- Tests the classy theme.
Namespace
Drupal\Tests\classy\FunctionalCode
public function testRegressionMissingMessagesCss() {
$this->drupalGet('');
$this->assertSession()
->statusCodeEquals(200);
$this->assertSession()
->responseContains('classy/css/components/messages.css');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.