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-3.x tests/src/Functional/AdminPagesTest.php \Drupal\Tests\advagg\Functional\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
-
src/
Tests/ AdminPagesTest.php, line 26
Class
- AdminPagesTest
- Tests that all the admin path(s) return valid content.
Namespace
Drupal\advagg\TestsCode
public function testLoad() {
foreach ($this->routes as $route) {
$this->drupalGet(Url::fromRoute($route));
$this->assertResponse(200);
}
}