protected function BlazyViewsGridTest::setUp in Blazy 8
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 BlazyViewsTestBase::setUp
File
- tests/
src/ Kernel/ Views/ BlazyViewsGridTest.php, line 25
Class
- BlazyViewsGridTest
- Test Blazy Views Grid integration.
Namespace
Drupal\Tests\blazy\Kernel\ViewsCode
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
$bundle = $this->bundle;
$this
->setUpContentTypeTest($bundle);
$data['settings'] = $this
->getFormatterSettings();
$this->display = $this
->setUpFormatterDisplay($bundle, $data);
$this
->setUpContentWithItems($bundle);
}