File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Sales Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -258,6 +258,7 @@ public function testCreditMemoForBundledProductsWithPartialRefund()
258
258
* @magentoApiDataFixture Magento/GraphQl/Tax/_files/tax_rule_for_region_1.php
259
259
* @magentoApiDataFixture Magento/SalesRule/_files/cart_rule_10_percent_off_with_discount_on_shipping.php
260
260
* @magentoApiDataFixture Magento/GraphQl/Tax/_files/tax_calculation_shipping_excludeTax_order_display_settings.php
261
+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
261
262
*/
262
263
public function testCreditMemoForBundleProductWithTaxesAndDiscounts ()
263
264
{
@@ -704,7 +705,6 @@ private function deleteOrder(): void
704
705
705
706
/** @var $order \Magento\Sales\Model\Order */
706
707
$ orderCollection = Bootstrap::getObjectManager ()->create (OrderCollection::class);
707
- $ creditmemoRepository = Bootstrap::getObjectManager ()->get (CreditmemoRepositoryInterface::class);
708
708
foreach ($ orderCollection as $ order ) {
709
709
$ this ->orderRepository ->delete ($ order );
710
710
}
You can’t perform that action at this time.
0 commit comments