Same filename in other branches
Namespace
Drupal\Tests\advagg\functionalFichier
-
tests/
src/ Functional/ AdvaggFunctionalTestBase.php
View source
<?php
namespace Drupal\Tests\advagg\functional;
use Drupal\Tests\BrowserTestBase;
/**
* @defgroup advagg_tests Test Suit
*
* @{
* The automated test suit for Advanced Aggregates.
*
* @}
*/
/**
* Base test class for Advagg test cases.
*/
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);
}
}
Classes
Titre | Deprecated | Résumé |
---|---|---|
AdvaggFunctionalTestBase | Base test class for Advagg test cases. |