function ClassyTest::testRegressionMissingMessagesCss
Same name in other branches
- 9 core/themes/classy/tests/src/Functional/ClassyTest.php \Drupal\Tests\classy\Functional\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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.