SchedulerBrowserTestBase.php in Scheduler 8
Same filename and directory in other branches
Namespace
Drupal\Tests\scheduler\FunctionalFile
tests/src/Functional/SchedulerBrowserTestBase.phpView source
<?php
namespace Drupal\Tests\scheduler\Functional;
use Drupal\Tests\BrowserTestBase;
use Drupal\Tests\scheduler\Traits\SchedulerSetupTrait;
/**
* Base class to provide common browser test setup.
*/
abstract class SchedulerBrowserTestBase extends BrowserTestBase {
use SchedulerSetupTrait;
/**
* The standard modules to load for all browser tests.
*
* Additional modules can be specified in the tests that need them.
*
* @var array
*/
protected static $modules = [
'scheduler',
'dblog',
];
/**
* The profile to install as a basis for testing.
*
* @var string
*/
protected $profile = 'testing';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
*/
protected function setUp() : void {
parent::setUp();
$this
->schedulerSetUp();
}
}
Classes
Name![]() |
Description |
---|---|
SchedulerBrowserTestBase | Base class to provide common browser test setup. |