You are here

protected function OrderItemAccessTest::setUp in Commerce Core 8.2

Overrides OrderKernelTestBase::setUp

File

modules/order/tests/src/Kernel/OrderItemAccessTest.php, line 20

Class

OrderItemAccessTest
Tests the order item access control.

Namespace

Drupal\Tests\commerce_order\Kernel

Code

protected function setUp() : void {
  parent::setUp();

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