protected function FilterTest::setUpSchemas in JSON:API 8
Same name and namespace in other branches
- 8.2 tests/src/Kernel/Query/FilterTest.php \Drupal\Tests\jsonapi\Kernel\Query\FilterTest::setUpSchemas()
Sets up the schemas.
1 call to FilterTest::setUpSchemas()
- FilterTest::setUp in tests/
src/ Kernel/ Query/ FilterTest.php
File
- tests/
src/ Kernel/ Query/ FilterTest.php, line 169
Class
- FilterTest
- @coversDefaultClass \Drupal\jsonapi\Query\Filter @group jsonapi @group jsonapi_query @group legacy
Namespace
Drupal\Tests\jsonapi\Kernel\QueryCode
protected function setUpSchemas() {
$this
->installSchema('system', [
'sequences',
]);
$this
->installSchema('node', [
'node_access',
]);
$this
->installSchema('user', [
'users_data',
]);
$this
->installSchema('user', []);
foreach ([
'user',
'node',
] as $entity_type_id) {
$this
->installEntitySchema($entity_type_id);
}
}