Namespace
Drupal\Tests\advagg\Functional
Fichier
-
tests/src/Functional/AdminPagesTest.php
View source
<?php
namespace Drupal\Tests\advagg\Functional;
use Drupal\Core\Url;
class AdminPagesTest extends AdvaggFunctionalTestBase {
public $routes = [
'advagg.settings',
'advagg.info',
'advagg.operations',
];
public function testLoad() {
foreach ($this->routes as $route) {
$this->drupalGet(Url::fromRoute($route));
$this->assertSession()
->statusCodeEquals(200);
}
}
}
Classes
| Titre |
Deprecated |
Résumé |
| AdminPagesTest |
|
Tests that all the admin path(s) return valid content. |