public function TaxonomyManagerPagesTest::testConfigurationPageIsAccessible in Taxonomy Manager 2.0.x
Same name and namespace in other branches
- 8 src/Tests/TaxonomyManagerPagesTest.php \Drupal\taxonomy_manager\Tests\TaxonomyManagerPagesTest::testConfigurationPageIsAccessible()
Configuration page is accessible.
File
- src/
Tests/ TaxonomyManagerPagesTest.php, line 50
Class
- TaxonomyManagerPagesTest
- All pages of the module are accessible. (Routing and menus are OK)
Namespace
Drupal\taxonomy_manager\TestsCode
public function testConfigurationPageIsAccessible() {
$this
->drupalLogin($this->adminUser);
$this
->drupalGet("admin/config");
$this
->assertResponse(200);
$this
->assertRaw("Advanced settings for the Taxonomy Manager", "The settings page is accessible.");
$this
->drupalLogout();
}