Select2KernelTestBase.php in Select 2 8
Namespace
Drupal\Tests\select2\KernelFile
tests/src/Kernel/Select2KernelTestBase.phpView source
<?php
namespace Drupal\Tests\select2\Kernel;
use Drupal\Tests\field\Kernel\FieldKernelTestBase;
use Drupal\Tests\select2\Traits\Select2TestTrait;
/**
* Base class for Select2 module integration tests.
*/
abstract class Select2KernelTestBase extends FieldKernelTestBase {
use Select2TestTrait;
/**
* Modules to enable.
*
* @var array
*/
public static $modules = [
'select2',
];
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
$this->container
->get('router.builder')
->rebuild();
$this
->installEntitySchema('entity_test_mulrevpub');
}
}
Classes
Name | Description |
---|---|
Select2KernelTestBase | Base class for Select2 module integration tests. |