DomainConfigTest.php in Domain Access 8
Namespace
Drupal\Tests\domain\KernelFile
domain/tests/src/Kernel/DomainConfigTest.phpView source
<?php
namespace Drupal\Tests\domain\Kernel;
use Drupal\KernelTests\KernelTestBase;
/**
* Tests domain config elements.
*
* @group domain
*/
class DomainConfigTest extends KernelTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = [
'domain',
'domain_config_schema_test',
];
/**
* Test setup.
*/
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('domain');
// Install the test domain record & views config.
$this
->installConfig('domain_config_schema_test');
}
/**
* Dummy test method to ensure config gets installed.
*/
public function testRun() {
$this
->assertTrue(TRUE);
}
}
Classes
Name | Description |
---|---|
DomainConfigTest | Tests domain config elements. |