Because some stores might use a custom implementation of the CartManagementInterface.
We are one of these stores.
Closes #326
Description
Changes the expected class type in the signature to use the interface.
Removes duplicated plugin declaration
Performance
There should not be any impact other that increasing the compatibility of the module with stores that might use a custom implementation of the CartManagementInterface
Testing
Updated Test/Unit/Plugin/Quote/Model/QuoteManagementTest.php subject mock from concrete class \Magento\Quote\Model\QuoteManagement to interface \Magento\Quote\Api\CartManagementInterface.
Context
Because some stores might use a custom implementation of the
CartManagementInterface
. We are one of these stores.Closes #326
Description
Changes the expected class type in the signature to use the interface. Removes duplicated plugin declaration
Performance
There should not be any impact other that increasing the compatibility of the module with stores that might use a custom implementation of the
CartManagementInterface
Testing
Test/Unit/Plugin/Quote/Model/QuoteManagementTest.php
subject mock from concrete class\Magento\Quote\Model\QuoteManagement
to interface\Magento\Quote\Api\CartManagementInterface
.Versions