public function BibciteEntityTest::testConfigPage in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/tests/src/Functional/BibciteEntityTest.php \Drupal\Tests\bibcite_entity\Functional\BibciteEntityTest::testConfigPage()
Test Config page.
File
- modules/
bibcite_entity/ tests/ src/ Functional/ BibciteEntityTest.php, line 429
Class
- BibciteEntityTest
- Test for entity functions.
Namespace
Drupal\Tests\bibcite_entity\FunctionalCode
public function testConfigPage() {
$this
->drupalLogin($this->user);
$this
->drupalGet('admin/structure/bibcite');
$page = $this
->getSession()
->getPage();
$link = $page
->findLink('Reference');
$link
->click();
$this
->assertSession()
->statusCodeEquals(200);
}