You are here

public function ViewsBulkOperationsDataServiceTest::setUp in Views Bulk Operations (VBO) 8.3

Same name and namespace in other branches
  1. 8 tests/src/Kernel/ViewsBulkOperationsDataServiceTest.php \Drupal\Tests\views_bulk_operations\Kernel\ViewsBulkOperationsDataServiceTest::setUp()
  2. 8.2 tests/src/Kernel/ViewsBulkOperationsDataServiceTest.php \Drupal\Tests\views_bulk_operations\Kernel\ViewsBulkOperationsDataServiceTest::setUp()
  3. 4.0.x tests/src/Kernel/ViewsBulkOperationsDataServiceTest.php \Drupal\Tests\views_bulk_operations\Kernel\ViewsBulkOperationsDataServiceTest::setUp()

Overrides ViewsBulkOperationsKernelTestBase::setUp

File

tests/src/Kernel/ViewsBulkOperationsDataServiceTest.php, line 16

Class

ViewsBulkOperationsDataServiceTest
@coversDefaultClass \Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewData @group views_bulk_operations

Namespace

Drupal\Tests\views_bulk_operations\Kernel

Code

public function setUp() {
  parent::setUp();
  $this
    ->createTestNodes([
    'page' => [
      'languages' => [
        'pl',
        'es',
        'it',
        'fr',
        'de',
      ],
      'count' => 20,
    ],
  ]);
}