File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
app/code/Magento/Reports/Test/Unit/Model/ResourceModel/Report/Quote Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,11 @@ public function testPrepareActiveCartItems()
79
79
$ collection ->expects ($ this ->exactly (2 ))->method ('getSelect ' )->willReturn ($ this ->selectMock );
80
80
$ this ->selectMock ->expects ($ this ->once ())->method ('reset ' )->willReturnSelf ();
81
81
$ this ->selectMock ->expects ($ this ->once ())->method ('from ' )->willReturnSelf ();
82
- $ this ->selectMock ->expects ($ this ->atLeastOnce ())->method ('columns ' )->willReturnSelf ();
82
+ $ this ->selectMock ->expects ($ this ->exactly (3 ))->method ('columns ' )
83
+ ->withConsecutive ([
84
+ ['main_table.product_id ' , 'main_table.name ' , 'main_table.price ' ]
85
+ ])
86
+ ->willReturnSelf ();
83
87
$ this ->selectMock ->expects ($ this ->once ())->method ('joinInner ' )->willReturnSelf ();
84
88
$ this ->selectMock ->expects ($ this ->once ())->method ('where ' )->willReturnSelf ();
85
89
$ this ->selectMock ->expects ($ this ->once ())->method ('group ' )->willReturnSelf ();
You can’t perform that action at this time.
0 commit comments