protected function ViewsDataTest::setUp in Workbench Moderation 8.2
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
- tests/
src/ Kernel/ ViewsDataIntegrationTest.php, line 29
Class
- ViewsDataTest
- Tests the views integration of workbench_moderation.
Namespace
Drupal\Tests\workbench_moderation\KernelCode
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
$this
->installEntitySchema('node');
$this
->installEntitySchema('user');
$this
->installSchema('node', 'node_access');
$this
->installConfig('workbench_moderation_test_views');
}