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()
7979 $ collection ->expects ($ this ->exactly (2 ))->method ('getSelect ' )->willReturn ($ this ->selectMock );
8080 $ this ->selectMock ->expects ($ this ->once ())->method ('reset ' )->willReturnSelf ();
8181 $ 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 ();
8387 $ this ->selectMock ->expects ($ this ->once ())->method ('joinInner ' )->willReturnSelf ();
8488 $ this ->selectMock ->expects ($ this ->once ())->method ('where ' )->willReturnSelf ();
8589 $ this ->selectMock ->expects ($ this ->once ())->method ('group ' )->willReturnSelf ();
You can’t perform that action at this time.
0 commit comments