public function OliveroTest::testBaseLibraryAvailable in Drupal 9
Tests that the Olivero theme always adds base library files.
See also
File
- core/
tests/ Drupal/ FunctionalTests/ Theme/ OliveroTest.php, line 37
Class
- OliveroTest
- Tests the Olivero theme.
Namespace
Drupal\FunctionalTests\ThemeCode
public function testBaseLibraryAvailable() {
$this
->drupalGet('');
$this
->assertSession()
->statusCodeEquals(200);
$this
->assertSession()
->responseContains('olivero/css/base/base.css');
$this
->assertSession()
->responseContains('olivero/js/navigation-utils.js');
}