You are here

protected function ProductAttributeValueAccessTest::setUp in Commerce Core 8.2

Overrides CommerceKernelTestBase::setUp

File

modules/product/tests/src/Kernel/ProductAttributeValueAccessTest.php, line 30

Class

ProductAttributeValueAccessTest
Tests the product attribute value access control.

Namespace

Drupal\Tests\commerce_product\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('commerce_product_attribute');
  $this
    ->installEntitySchema('commerce_product_attribute_value');

  // Create uid: 1 here so that it's skipped in test cases.
  $admin_user = $this
    ->createUser();
}