Skip to content

Commit 4adb48e

Browse files
committed
MC-20639: MyAccount :: Order Details :: Refund (creditMemo) Details by Order Number
1 parent fc36d5a commit 4adb48e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Sales/CreditmemoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ public function testCreditMemoForBundledProductsWithPartialRefund()
258258
* @magentoApiDataFixture Magento/GraphQl/Tax/_files/tax_rule_for_region_1.php
259259
* @magentoApiDataFixture Magento/SalesRule/_files/cart_rule_10_percent_off_with_discount_on_shipping.php
260260
* @magentoApiDataFixture Magento/GraphQl/Tax/_files/tax_calculation_shipping_excludeTax_order_display_settings.php
261+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
261262
*/
262263
public function testCreditMemoForBundleProductWithTaxesAndDiscounts()
263264
{
@@ -704,7 +705,6 @@ private function deleteOrder(): void
704705

705706
/** @var $order \Magento\Sales\Model\Order */
706707
$orderCollection = Bootstrap::getObjectManager()->create(OrderCollection::class);
707-
$creditmemoRepository = Bootstrap::getObjectManager()->get(CreditmemoRepositoryInterface::class);
708708
foreach ($orderCollection as $order) {
709709
$this->orderRepository->delete($order);
710710
}

0 commit comments

Comments
 (0)