File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
dev/tests/unit/testsuite/Magento/Quote/Model/Cart/Access Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- namespace Magento \Checkout \Model \Cart \Access ;
7
+ namespace Magento \Quote \Model \Cart \Access ;
8
8
9
9
use Magento \Framework \Exception \AuthorizationException ;
10
10
use Magento \Authorization \Model \UserContextInterface ;
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- namespace Magento \Checkout \Model \Cart \Access ;
7
+ namespace Magento \Quote \Model \Cart \Access ;
8
8
9
9
use Magento \Framework \Api \SearchCriteria ;
10
10
use Magento \Framework \Exception \AuthorizationException ;
Original file line number Diff line number Diff line change 7
7
-->
8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../lib/internal/Magento/Framework/ObjectManager/etc/config.xsd" >
9
9
<type name =" Magento\Quote\Api\CartRepositoryInterface" >
10
- <plugin name =" admin_access" type =" \Magento\Checkout \Model\Cart\Access\CartRepositoryPlugin" />
10
+ <plugin name =" admin_access" type =" \Magento\Quote \Model\Cart\Access\CartRepositoryPlugin" />
11
11
</type >
12
12
<type name =" Magento\Quote\Api\CartManagementInterface" >
13
- <plugin name =" admin_access" type =" \Magento\Checkout \Model\Cart\Access\CartManagementPlugin" />
13
+ <plugin name =" admin_access" type =" \Magento\Quote \Model\Cart\Access\CartManagementPlugin" />
14
14
</type >
15
15
</config >
Original file line number Diff line number Diff line change 7
7
-->
8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../lib/internal/Magento/Framework/ObjectManager/etc/config.xsd" >
9
9
<type name =" Magento\Quote\Api\CartRepositoryInterface" >
10
- <plugin name =" admin_access" type =" \Magento\Checkout \Model\Cart\Access\CartRepositoryPlugin" />
10
+ <plugin name =" admin_access" type =" \Magento\Quote \Model\Cart\Access\CartRepositoryPlugin" />
11
11
</type >
12
12
<type name =" Magento\Quote\Api\CartManagementInterface" >
13
- <plugin name =" admin_access" type =" \Magento\Checkout \Model\Cart\Access\CartManagementPlugin" />
13
+ <plugin name =" admin_access" type =" \Magento\Quote \Model\Cart\Access\CartManagementPlugin" />
14
14
</type >
15
15
</config >
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- namespace Magento \Checkout \Model \Cart \Access ;
7
+ namespace Magento \Quote \Model \Cart \Access ;
8
8
9
9
class CartManagementPluginTest extends \PHPUnit_Framework_TestCase
10
10
{
11
11
/**
12
- * @var \Magento\Checkout \Model\Cart\Access\CartManagementPlugin
12
+ * @var \Magento\Quote \Model\Cart\Access\CartManagementPlugin
13
13
*/
14
14
protected $ model ;
15
15
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- namespace Magento \Checkout \Model \Cart \Access ;
7
+ namespace Magento \Quote \Model \Cart \Access ;
8
8
9
9
class CartRepositoryPluginTest extends \PHPUnit_Framework_TestCase
10
10
{
11
11
/**
12
- * @var \Magento\Checkout \Model\Cart\Access\CartRepositoryPlugin
12
+ * @var \Magento\Quote \Model\Cart\Access\CartRepositoryPlugin
13
13
*/
14
14
protected $ model ;
15
15
You can’t perform that action at this time.
0 commit comments