Commit 98081e4e authored by blazey's avatar blazey Committed by borisson_
Browse files

Issue #2841980 by blazey: Add tests for admin pages

parent f109602b
......@@ -72,6 +72,22 @@ class IntegrationTest extends FacetsTestBase {
$this->assertResponse(200);
}
/**
* Tests facets admin pages availability.
*/
public function testAdminPages() {
$pages = [
'/admin/config/search/facets',
'/admin/config/search/facets/add-facet',
'/admin/config/search/facets/facet-sources/views_page/edit',
];
foreach ($pages as $page) {
$this->drupalGet($page);
$this->assertSession()->statusCodeEquals(200);
}
}
/**
* Tests various operations via the Facets' admin UI.
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment