public function BlockBlacklistTest::testBlockBlacklistPagesExist in Block Blacklist [Deprecated] 8
Tests that the BlockBlacklist pages can be reached before configuration.
File
- tests/
src/ Functional/ BlockBlacklistTest.php, line 43
Class
- BlockBlacklistTest
- Tests for the Block Blacklist module.
Namespace
Drupal\Tests\block_blacklist\FunctionalCode
public function testBlockBlacklistPagesExist() {
$this
->drupalLogin($this->user);
$pages = [
'admin/config/block_blacklist/settings',
'admin/config/block_blacklist/system-list',
'admin/config/block_blacklist/layout-list',
];
foreach ($pages as $page) {
$this
->drupalGet($page);
$this
->assertResponse(200);
}
$this
->drupalLogout();
}