Same name in other branches
- 6.0.x tests/src/Functional/AdvaggFunctionalTestBase.php \Drupal\Tests\advagg\functional\AdvaggFunctionalTestBase
- 8.x-3.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 uses \Drupal\Core\StringTranslation\StringTranslationTrait
Expanded class hierarchy of AdvaggFunctionalTestBase
2 files declare their use of AdvaggFunctionalTestBase
- BundlerTest.php dans advagg_bundler/
tests/ src/ Functional/ BundlerTest.php - CdnTest.php dans advagg_cdn/
tests/ src/ Functional/ CdnTest.php
Fichier
-
tests/
src/ Functional/ AdvaggFunctionalTestBase.php, line 20
Namespace
Drupal\Tests\advagg\functionalView source
abstract class AdvaggFunctionalTestBase extends BrowserTestBase {
use StringTranslationTrait;
/**
* Modules to enable.
*
* @var array
*/
protected static $modules = [
'advagg',
];
/**
* A user with permission to administer site configuration.
*
* @var \Drupal\user\UserInterface
*/
protected $user;
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
$this->user = $this->drupalCreateUser([
'administer site configuration',
'access administration pages',
]);
$this->drupalLogin($this->user);
}
}
Members
Titre Trier par ordre décroissant | Modifiers | Object type | Résumé | Overrides |
---|---|---|---|---|
AdvaggFunctionalTestBase::$defaultTheme | protected | property | ||
AdvaggFunctionalTestBase::$modules | protected static | property | Modules to enable. | 9 |
AdvaggFunctionalTestBase::$user | protected | property | A user with permission to administer site configuration. | |
AdvaggFunctionalTestBase::setUp | protected | function |