File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Sales/Test/Unit/Model/ResourceModel/Report Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ public function testAggregatePerStoreCalculationWithInterval(): void
139139 ->willReturn ($ periodExpr );
140140 $ connection ->expects ($ this ->any ())->method ('select ' )->willReturn ($ select );
141141 $ query = $ this ->createMock (\Zend_Db_Statement_Interface::class);
142- $ connection ->expects ($ this ->exactly (4 ))->method ('query ' )->willReturn ($ query );
142+ $ connection ->expects ($ this ->exactly (5 ))->method ('query ' )->willReturn ($ query );
143143 $ resource = $ this ->createMock (ResourceConnection::class);
144144 $ resource ->expects ($ this ->any ())
145145 ->method ('getConnection ' )
@@ -223,7 +223,7 @@ public function testClearByDateRange()
223223 $ connection ->expects ($ this ->atLeastOnce ())->method ('query ' )->willReturn ($ query );
224224 $ connection ->expects ($ this ->atLeastOnce ())->method ('getDatePartSql ' )->willReturn ($ periodExpr );
225225
226- $ connection ->expects ($ this ->exactly ( 2 ))->method ('delete ' );
226+ $ connection ->expects ($ this ->once ( ))->method ('delete ' );
227227
228228 $ this ->report = new Bestsellers (
229229 $ this ->context ,
You can’t perform that action at this time.
0 commit comments