protected function CartProviderTest::setUp in Commerce Core 8.2
Overrides CartKernelTestBase::setUp
File
- modules/
cart/ tests/ src/ Kernel/ CartProviderTest.php, line 40
Class
- CartProviderTest
- Tests the cart provider.
Namespace
Drupal\Tests\commerce_cart\KernelCode
protected function setUp() : void {
parent::setUp();
$this->entityTypeManager = $this->container
->get('entity_type.manager');
$this->anonymousUser = $this
->createUser([
'uid' => 0,
'name' => '',
'status' => 0,
]);
$this->authenticatedUser = $this
->createUser();
}