protected function QueryTopicTest::setUp in Open Social 10.3.x
File
- modules/
social_features/ social_topic/ tests/ src/ Kernel/ GraphQL/ QueryTopicTest.php, line 71
Class
- QueryTopicTest
- Tests the topic field on the Query type.
Namespace
Drupal\Tests\social_topic\Kernel\GraphQLCode
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('node');
$this
->installEntitySchema('user');
$this
->installEntitySchema('comment');
$this
->installEntitySchema('taxonomy_term');
$this
->installEntitySchema('file');
$this
->installSchema('comment', 'comment_entity_statistics');
$this
->installSchema('file', [
'file_usage',
]);
$this
->installConfig([
'node',
'social_core',
'social_node',
'social_topic',
'filter',
'comment',
'social_comment',
]);
}