function CastedIntFieldJoinTestBase::setUpFixtures
Same name in other branches
- 11.x core/modules/views/tests/src/Kernel/Plugin/CastedIntFieldJoinTestBase.php \Drupal\Tests\views\Kernel\Plugin\CastedIntFieldJoinTestBase::setUpFixtures()
1 call to CastedIntFieldJoinTestBase::setUpFixtures()
- CastedIntFieldJoinTestBase::setUp in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CastedIntFieldJoinTestBase.php
File
-
core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CastedIntFieldJoinTestBase.php, line 80
Class
- CastedIntFieldJoinTestBase
- Tests the "casted_int_field_join" join plugin.
Namespace
Drupal\Tests\views\Kernel\PluginCode
protected function setUpFixtures() {
$this->installEntitySchema('user');
$this->installConfig([
'user',
]);
// Create a record for uid 1.
$this->rootUser = User::create([
'name' => $this->randomMachineName(),
]);
$this->rootUser
->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.