You are here

protected function CartExpirationTest::setUp in Commerce Core 8.2

Overrides CartKernelTestBase::setUp

File

modules/cart/tests/src/Kernel/CartExpirationTest.php, line 33

Class

CartExpirationTest
Tests cart expiration.

Namespace

Drupal\Tests\commerce_cart\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $user = $this
    ->createUser();
  $this->user = $this
    ->reloadEntity($user);
  $this->orderStorage = $this->container
    ->get('entity_type.manager')
    ->getStorage('commerce_order');
}