Skip to content

Commit ad8f749

Browse files
committed
ACP2E-13: Customer shopping cart in admin - Multi store
- add step in test - fix static fails
1 parent b9ef2e8 commit ad8f749

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType
3636
/**
3737
* Product type code
3838
*/
39-
const TYPE_CODE = 'configurable';
39+
public const TYPE_CODE = 'configurable';
4040

4141
/**
4242
* Cache key for Used Product Attribute Ids

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminUpdatesConfigurableProductOptionsInCustomersCartTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@
151151
<actionGroup ref="RemoveProductFromMiniCartActionGroup" stepKey="clearShoppingCartForDefaultWebsite">
152152
<argument name="productName" value="$createConfigProduct.name$"/>
153153
</actionGroup>
154+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutStorefront"/>
154155

155156
<!-- Delete Configurable and Child Products, Delete Category and Attribute -->
156157
<actionGroup ref="DeleteProductBySkuActionGroup" stepKey="deleteConfigurableProduct">

app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ abstract class Cart extends \Magento\Backend\App\Action
2323
*
2424
* @see _isAllowed()
2525
*/
26-
const ADMIN_RESOURCE = 'Magento_Customer::manage';
26+
public const ADMIN_RESOURCE = 'Magento_Customer::manage';
2727

2828
/**
2929
* Customer we're working with

0 commit comments

Comments
 (0)