Same name in other branches
- 5.0.x tests/src/Functional/AdvaggFunctionalTestBase.php \Drupal\Tests\advagg\functional\AdvaggFunctionalTestBase
- 6.0.x tests/src/Functional/AdvaggFunctionalTestBase.php \Drupal\Tests\advagg\functional\AdvaggFunctionalTestBase
- 8.x-4.x tests/src/Functional/AdvaggFunctionalTestBase.php \Drupal\Tests\advagg\functional\AdvaggFunctionalTestBase
Base test class for Advagg test cases.
Hierarchy
- class \Drupal\Tests\advagg\functional\AdvaggFunctionalTestBase extends \Drupal\Tests\BrowserTestBase
Expanded class hierarchy of AdvaggFunctionalTestBase
2 files declare their use of AdvaggFunctionalTestBase
- BundlerTest.php in advagg_bundler/
tests/ src/ Functional/ BundlerTest.php - CdnTest.php in advagg_cdn/
tests/ src/ Functional/ CdnTest.php
File
-
tests/
src/ Functional/ AdvaggFunctionalTestBase.php, line 19
Namespace
Drupal\Tests\advagg\functionalView source
abstract class AdvaggFunctionalTestBase extends BrowserTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = [
'advagg',
];
/**
* A user with permission to administer site configuration.
*
* @var \Drupal\user\UserInterface
*/
protected $user;
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
$this->user = $this->drupalCreateUser([
'administer site configuration',
'access administration pages',
]);
$this->drupalLogin($this->user);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
AdvaggFunctionalTestBase::$modules | public static | property | Modules to enable. | 9 |
AdvaggFunctionalTestBase::$user | protected | property | A user with permission to administer site configuration. | |
AdvaggFunctionalTestBase::setUp | protected | function |