You are here

public function ClassyTest::testRegressionMissingMessagesCss in Drupal 8

Same name and namespace in other branches
  1. 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

classy.info.yml

File

core/tests/Drupal/FunctionalTests/Theme/ClassyTest.php, line 24

Class

ClassyTest
Tests the classy theme.

Namespace

Drupal\FunctionalTests\Theme

Code

public function testRegressionMissingMessagesCss() {
  $this
    ->drupalGet('');
  $this
    ->assertSession()
    ->statusCodeEquals(200);
  $this
    ->assertSession()
    ->responseContains('classy/css/components/messages.css');
}