diff --git a/tests/src/Functional/PageListTest.php b/tests/src/Functional/PageListTest.php index 38155ed..9c1d9e6 100644 --- a/tests/src/Functional/PageListTest.php +++ b/tests/src/Functional/PageListTest.php @@ -11,4 +11,14 @@ class PageListTest extends BrowserTestBase { */ protected static $modules = ['tdd_dublin']; + /** + * Test that the pages listing page exists and is accessible. + */ + public function testListingPageExists() { + // Go to /pages and check that it is accessible by checking the status + // code. + $this->drupalGet('pages'); + $this->assertSession()->statusCodeEquals(200); + } + }