You are here

protected function GridStackViewsTest::setUp in GridStack 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/Views/GridStackViewsTest.php \Drupal\Tests\gridstack\Kernel\Views\GridStackViewsTest::setUp()

File

tests/src/Kernel/Views/GridStackViewsTest.php, line 49

Class

GridStackViewsTest
Test GridStack Views integration.

Namespace

Drupal\Tests\gridstack\Kernel\Views

Code

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);
}