protected function CartKernelTestBase::setUp in Commerce Core 8.2
Overrides OrderKernelTestBase::setUp
9 calls to CartKernelTestBase::setUp()
- CartExpirationTest::setUp in modules/
cart/ tests/ src/ Kernel/ CartExpirationTest.php - CartIntegrationTest::setUp in modules/
log/ tests/ src/ Kernel/ CartIntegrationTest.php - CartManagerTest::setUp in modules/
cart/ tests/ src/ Kernel/ CartManagerTest.php - CartOrderPlacedTest::setUp in modules/
cart/ tests/ src/ Kernel/ CartOrderPlacedTest.php - CartProviderTest::setUp in modules/
cart/ tests/ src/ Kernel/ CartProviderTest.php
9 methods override CartKernelTestBase::setUp()
- CartExpirationTest::setUp in modules/
cart/ tests/ src/ Kernel/ CartExpirationTest.php - CartIntegrationTest::setUp in modules/
log/ tests/ src/ Kernel/ CartIntegrationTest.php - CartManagerTest::setUp in modules/
cart/ tests/ src/ Kernel/ CartManagerTest.php - CartOrderPlacedTest::setUp in modules/
cart/ tests/ src/ Kernel/ CartOrderPlacedTest.php - CartProviderTest::setUp in modules/
cart/ tests/ src/ Kernel/ CartProviderTest.php
File
- modules/
cart/ tests/ src/ Kernel/ CartKernelTestBase.php, line 38
Class
- CartKernelTestBase
- Provides a base class for cart kernel tests.
Namespace
Drupal\Tests\commerce_cart\KernelCode
protected function setUp() : void {
parent::setUp();
$this
->installConfig([
'commerce_cart',
]);
$this->cartManager = $this->container
->get('commerce_cart.cart_manager');
$this->cartProvider = $this->container
->get('commerce_cart.cart_provider');
}