File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
app/code/Magento/SalesGraphQl/Test/Unit/Model/Resolver Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,6 @@ class OrderTotalTest extends TestCase
2525 */
2626 private $ orderMock ;
2727
28- /**
29- * @var QuoteFactory|MockObject
30- */
31- private $ quoteFactoryMock ;
32-
3328 /**
3429 * @var OrderTotal|MockObject
3530 */
@@ -60,7 +55,6 @@ protected function setUp(): void
6055 $ this ->contextMock = $ this ->createMock (ContextInterface::class);
6156 $ this ->fieldMock = $ this ->createMock (Field::class);
6257 $ this ->resolveInfoMock = $ this ->createMock (ResolveInfo::class);
63- $ this ->quoteFactoryMock = $ this ->createMock (QuoteFactory::class);
6458 $ this ->extensionAttributesMock = $ this ->createMock (OrderExtensionInterface::class);
6559 $ this ->orderMock = $ this ->createMock (OrderInterface::class);
6660 $ this ->orderMock ->method ('getOrderCurrencyCode ' )->willReturn ('USD ' );
@@ -73,7 +67,7 @@ protected function setUp(): void
7367 $ this ->orderMock ->method ('getShippingInclTax ' )->willReturn (7.00 );
7468 $ this ->orderMock ->method ('getDiscountAmount ' )->willReturn (7.00 );
7569 $ this ->orderMock ->method ('getDiscountDescription ' )->willReturn ('TEST123 ' );
76- $ this ->orderTotal = new OrderTotal ($ this -> quoteFactoryMock );
70+ $ this ->orderTotal = new OrderTotal ();
7771 }
7872
7973 public function testResolve (): void
You can’t perform that action at this time.
0 commit comments