function FilterTest::setUpSchemas
Sets up the schemas.
1 call to FilterTest::setUpSchemas()
- FilterTest::setUp in core/
modules/ jsonapi/ tests/ src/ Kernel/ Query/ FilterTest.php
File
-
core/
modules/ jsonapi/ tests/ src/ Kernel/ Query/ FilterTest.php, line 272
Class
- FilterTest
- @coversDefaultClass \Drupal\jsonapi\Query\Filter[[api-linebreak]] @group jsonapi @group jsonapi_query @group #slow
Namespace
Drupal\Tests\jsonapi\Kernel\QueryCode
protected function setUpSchemas() {
$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);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.