Same name in other branches
- 5.0.x tests/src/Functional/AdminPagesTest.php \Drupal\Tests\advagg\Functional\AdminPagesTest::testLoad()
- 6.0.x tests/src/Functional/AdminPagesTest.php \Drupal\Tests\advagg\Functional\AdminPagesTest::testLoad()
- 8.x-2.x src/Tests/AdminPagesTest.php \Drupal\advagg\Tests\AdminPagesTest::testLoad()
- 8.x-4.x tests/src/Functional/AdminPagesTest.php \Drupal\Tests\advagg\Functional\AdminPagesTest::testLoad()
Tests that the main admin path returns correct contents.
File
-
tests/
src/ Functional/ AdminPagesTest.php, line 26
Class
- AdminPagesTest
- Tests that all the admin path(s) return valid content.
Namespace
Drupal\Tests\advagg\FunctionalCode
public function testLoad() {
foreach ($this->routes as $route) {
$this->drupalGet(Url::fromRoute($route));
$this->assertSession()
->statusCodeEquals(200);
}
}