DomainConfigTest.php 694 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace Drupal\Tests\domain\Kernel;
  3. use Drupal\KernelTests\KernelTestBase;
  4. /**
  5. * Tests domain config elements.
  6. *
  7. * @group domain
  8. */
  9. class DomainConfigTest extends KernelTestBase {
  10. /**
  11. * Modules to enable.
  12. *
  13. * @var array
  14. */
  15. public static $modules = ['domain', 'domain_config_schema_test'];
  16. /**
  17. * Test setup.
  18. */
  19. protected function setUp() {
  20. parent::setUp();
  21. $this->installEntitySchema('domain');
  22. // Install the test domain record & views config.
  23. $this->installConfig('domain_config_schema_test');
  24. }
  25. /**
  26. * Dummy test method to ensure config gets installed.
  27. */
  28. public function testRun() {
  29. $this->assertTrue(TRUE);
  30. }
  31. }