WorkflowsTestBase.php in Workflows Field 8
File
tests/src/Kernel/WorkflowsTestBase.php
View source
<?php
namespace Drupal\Tests\workflows_field\Kernel;
use Drupal\KernelTests\KernelTestBase;
use Drupal\Tests\user\Traits\UserCreationTrait;
abstract class WorkflowsTestBase extends KernelTestBase {
use UserCreationTrait;
public static $modules = [
'system',
'user',
'node',
'options',
'workflows',
'workflows_field',
'field',
'workflows_field_test_workflows',
];
public function setUp() {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installEntitySchema('node');
$this
->installEntitySchema('workflow');
$this
->installConfig([
'workflows_field_test_workflows',
]);
$this
->installSchema('system', [
'sequences',
]);
$this
->createUser();
}
}