protected function RelationHandlerTest::setUp in Group 2.0.x
Overrides GroupKernelTestBase::setUp
File
- tests/
src/ Kernel/ RelationHandlerTest.php, line 23
Class
- RelationHandlerTest
- Tests that relation handlers work as expected.
Namespace
Drupal\Tests\group\KernelCode
protected function setUp() {
parent::setUp();
$this
->installConfig([
'user',
'group_test_plugin',
]);
$this
->installSchema('node', [
'node_access',
]);
$this
->installEntitySchema('entity_test_with_owner');
$this
->installEntitySchema('node');
$this
->createNodeType([
'type' => 'page',
]);
$this
->createNodeType([
'type' => 'article',
]);
}