Tests that all the AdvAgg CDN path(s) return valid content.
@group advagg
Hierarchy
- class \Drupal\advagg\Tests\AdvaggTestBase extends \Drupal\simpletest\WebTestBase
- class \Drupal\advagg\Tests\AdminPagesTest extends \Drupal\advagg\Tests\AdvaggTestBase
- class \Drupal\advagg_cdn\Tests\CdnPagesTest extends \Drupal\advagg\Tests\AdminPagesTest
- class \Drupal\advagg\Tests\AdminPagesTest extends \Drupal\advagg\Tests\AdvaggTestBase
Expanded class hierarchy of CdnPagesTest
Related topics
File
-
advagg_cdn/
src/ Tests/ CdnPagesTest.php, line 14
Namespace
Drupal\advagg_cdn\TestsView source
class CdnPagesTest extends AdminPagesTest {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = [
'advagg_cdn',
];
/**
* Routes to test.
*
* @var array
*/
public $routes = [
'advagg_cdn.settings',
];
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
AdminPagesTest::testLoad | public | function | Tests that the main admin path returns correct contents. | |
AdvaggTestBase::$config | protected | property | Editable Advagg configuration. | |
AdvaggTestBase::$systemConfig | protected | property | Editable system configuration. | |
AdvaggTestBase::$user | protected | property | A user with permission to administer site configuration. | |
AdvaggTestBase::setUp | protected | function | ||
CdnPagesTest::$modules | public static | property | Modules to enable. | Overrides AdvaggTestBase::$modules |
CdnPagesTest::$routes | public | property | Routes to test. | Overrides AdminPagesTest::$routes |