You are here

protected function ShipmentAccessControlHandlerTest::setUp in Commerce Shipping 8.2

Overrides ShippingKernelTestBase::setUp

File

tests/src/Kernel/ShipmentAccessControlHandlerTest.php, line 19

Class

ShipmentAccessControlHandlerTest
Tests the shipment access control.

Namespace

Drupal\Tests\commerce_shipping\Kernel

Code

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

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