BartikTest.php in Drupal 9
File
core/tests/Drupal/FunctionalTests/Theme/BartikTest.php
View source
<?php
namespace Drupal\FunctionalTests\Theme;
use Drupal\Tests\BrowserTestBase;
class BartikTest extends BrowserTestBase {
protected $defaultTheme = 'bartik';
public function testRegressionMissingMessagesCss() {
$this
->drupalGet('');
$this
->assertSession()
->statusCodeEquals(200);
$this
->assertSession()
->responseContains('bartik/css/components/messages.css');
$this
->assertSession()
->responseContains('bartik/css/classy/components/messages.css');
}
}