protected function ViewsConfigDependenciesIntegrationTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/tests/src/Kernel/ViewsConfigDependenciesIntegrationTest.php \Drupal\Tests\views\Kernel\ViewsConfigDependenciesIntegrationTest::setUp()
- 10 core/modules/views/tests/src/Kernel/ViewsConfigDependenciesIntegrationTest.php \Drupal\Tests\views\Kernel\ViewsConfigDependenciesIntegrationTest::setUp()
Parameters
bool $import_test_views: Should the views specified on the test class be imported. If you need to setup some additional stuff, like fields, you need to call false and then call createTestViews for your own.
Overrides ViewsKernelTestBase::setUp
File
- core/
modules/ views/ tests/ src/ Kernel/ ViewsConfigDependenciesIntegrationTest.php, line 38
Class
- ViewsConfigDependenciesIntegrationTest
- Tests integration of views with other modules.
Namespace
Drupal\Tests\views\KernelCode
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
$this
->installEntitySchema('entity_test');
$this
->installEntitySchema('user');
$this
->installSchema('user', [
'users_data',
]);
}