protected function CartWebDriverTestBase::setUp in Commerce Core 8.2
Overrides OrderWebDriverTestBase::setUp
5 calls to CartWebDriverTestBase::setUp()
- AddToCartFieldReplacementTest::setUp in modules/
cart/ tests/ src/ FunctionalJavascript/ AddToCartFieldReplacementTest.php - AddToCartMultiAttributeTest::setUp in modules/
cart/ tests/ src/ FunctionalJavascript/ AddToCartMultiAttributeTest.php - AddToCartMultilingualTest::setUp in modules/
cart/ tests/ src/ FunctionalJavascript/ AddToCartMultilingualTest.php - MultipleCartFormsTest::setUp in modules/
cart/ tests/ src/ FunctionalJavascript/ MultipleCartFormsTest.php - MultipleCartMultipleVariationTypesTest::setUp in modules/
cart/ tests/ src/ FunctionalJavascript/ MultipleCartMultipleVariationTypesTest.php
5 methods override CartWebDriverTestBase::setUp()
- AddToCartFieldReplacementTest::setUp in modules/
cart/ tests/ src/ FunctionalJavascript/ AddToCartFieldReplacementTest.php - AddToCartMultiAttributeTest::setUp in modules/
cart/ tests/ src/ FunctionalJavascript/ AddToCartMultiAttributeTest.php - AddToCartMultilingualTest::setUp in modules/
cart/ tests/ src/ FunctionalJavascript/ AddToCartMultilingualTest.php - MultipleCartFormsTest::setUp in modules/
cart/ tests/ src/ FunctionalJavascript/ MultipleCartFormsTest.php - MultipleCartMultipleVariationTypesTest::setUp in modules/
cart/ tests/ src/ FunctionalJavascript/ MultipleCartMultipleVariationTypesTest.php
File
- modules/
cart/ tests/ src/ FunctionalJavascript/ CartWebDriverTestBase.php, line 56
Class
- CartWebDriverTestBase
- Defines base class for commerce_cart test cases.
Namespace
Drupal\Tests\commerce_cart\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$this->cart = $this->container
->get('commerce_cart.cart_provider')
->createCart('default', $this->store);
$this->cartManager = $this->container
->get('commerce_cart.cart_manager');
$this->attributeFieldManager = $this->container
->get('commerce_product.attribute_field_manager');
}