You are here

public function GroupConfigTest::testConfig in Group 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Kernel/GroupConfigTest.php \Drupal\Tests\group\Kernel\GroupConfigTest::testConfig()

Tests that the module's config installs properly.

File

tests/src/Kernel/GroupConfigTest.php, line 24

Class

GroupConfigTest
Tests that all config provided by this module passes validation.

Namespace

Drupal\Tests\group\Kernel

Code

public function testConfig() {
  $this
    ->installEntitySchema('group');
  $this
    ->installEntitySchema('group_type');
  $this
    ->installEntitySchema('group_role');
  $this
    ->installEntitySchema('group_content');
  $this
    ->installEntitySchema('group_content_type');
  $this
    ->installConfig([
    'group',
  ]);
}