You are here

protected function ProductAttributeValueFilterTest::setUp in Commerce Core 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

modules/product/tests/src/Kernel/Views/ProductAttributeValueFilterTest.php, line 40

Class

ProductAttributeValueFilterTest
Tests the commerce_product_attribute_value views filter.

Namespace

Drupal\Tests\commerce_product\Kernel\Views

Code

protected function setUp($import_test_views = TRUE) {
  parent::setUp($import_test_views);
  ViewTestData::createTestViews(self::class, [
    'commerce_product_test',
  ]);
}