This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree 2 files changed +4
-4
lines changed
Quote/Test/Unit/Model/ResourceModel
Sales/Test/Unit/Model/AdminOrder
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
7
7
namespace Magento \Quote \Test \Unit \Model \ResourceModel ;
8
8
9
-
10
9
use Magento \Framework \App \ResourceConnection ;
11
10
use Magento \Framework \DB \Adapter \Pdo \Mysql ;
12
11
use Magento \Framework \DB \Select ;
@@ -107,7 +106,9 @@ protected function setUp()
107
106
$ this ->sequenceMock = $ this ->getMockBuilder (SequenceInterface::class)
108
107
->disableOriginalConstructor ()
109
108
->getMock ();
110
- $ this ->model = $ objectManagerHelper ->getObject (QuoteResource::class, [
109
+ $ this ->model = $ objectManagerHelper ->getObject (
110
+ QuoteResource::class,
111
+ [
111
112
'context ' => $ context ,
112
113
'entitySnapshot ' => $ snapshot ,
113
114
'entityRelationComposite ' => $ relationComposite ,
Original file line number Diff line number Diff line change @@ -147,8 +147,7 @@ public function testSetAccountData()
147
147
148
148
$ quote = $ this ->createMock (Quote::class);
149
149
$ quote ->method ('getCustomer ' )->willReturn ($ customer );
150
- $ quote ->method ('addData ' )
151
- ->with (
150
+ $ quote ->method ('addData ' )->with (
152
151
[
153
152
'customer_group_id ' => $ attributes [1 ][1 ],
154
153
'customer_tax_class_id ' => $ taxClassId
You can’t perform that action at this time.
0 commit comments