public function BlockListOverrideTest::testBlockListPagesExist in Block List Override 1.0.x
Tests that the Block List Override pages can be reached before configuration.
File
- tests/
src/ Functional/ BlockListOverrideTest.php, line 88
Class
- BlockListOverrideTest
- Tests for the Block List Override module.
Namespace
Drupal\Tests\block_list_override\FunctionalCode
public function testBlockListPagesExist() {
$this
->drupalLogin($this->user);
$pages = [
'admin/config/block_list_override/settings',
'admin/config/block_list_override/system-list',
'admin/config/block_list_override/layout-list',
];
foreach ($pages as $page) {
$this
->drupalGet($page);
$this
->assertResponse(200);
}
$this
->drupalLogout();
}