Skip to content

Commit

Permalink
ENGCOM-4499: Fix broken admin order after emptying order and readding…
Browse files Browse the repository at this point in the history
… items #21051
  • Loading branch information
sidolov authored Mar 18, 2019
2 parents fa540f2 + f8dd7ca commit d314910
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/code/Magento/Checkout/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,4 @@
</argument>
</arguments>
</type>
<type name="Magento\Quote\Model\Quote">
<plugin name="clear_addresses_after_product_delete" type="Magento\Checkout\Plugin\Model\Quote\ResetQuoteAddresses"/>
</type>
</config>
3 changes: 3 additions & 0 deletions app/code/Magento/Checkout/etc/frontend/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,7 @@
</argument>
</arguments>
</type>
<type name="Magento\Quote\Model\Quote">
<plugin name="clear_addresses_after_product_delete" type="Magento\Checkout\Plugin\Model\Quote\ResetQuoteAddresses"/>
</type>
</config>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class ResetQuoteAddressesTest extends \PHPUnit\Framework\TestCase
{
/**
* @magentoDataFixture Magento/Checkout/_files/quote_with_virtual_product_and_address.php
* @magentoAppArea frontend
*
* @return void
*/
Expand Down

0 comments on commit d314910

Please sign in to comment.