Skip to content

Commit e157c23

Browse files
committed
ACQE-8890: [AC-6910] Asynchronous order data processing for auto invoiced orders
- Add free shipping assertion and fix copyright.
1 parent d87c046 commit e157c23

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dev/tests/integration/testsuite/Magento/Sales/Model/AsyncGridWithAutoInvoiceTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015 Adobe
3+
* Copyright 2025 Adobe
44
* All Rights Reserved.
55
*/
66

@@ -115,6 +115,11 @@ public function testAsyncGridProcessingWithAutoInvoicedZeroSubtotalOrder(): void
115115
$this->assertNotNull($order->getEntityId(), 'Order should be created successfully');
116116
$this->assertEquals(0.00, (float) $order->getGrandTotal(), 'Order grand total should be 0.00');
117117
$this->assertEquals('free', $order->getPayment()->getMethod(), 'Payment method should be "free"');
118+
$this->assertEquals(
119+
'freeshipping_freeshipping',
120+
$order->getShippingMethod(),
121+
'Shipping method should be "freeshipping_freeshipping"'
122+
);
118123

119124
$this->assertEquals(
120125
Order::STATE_PROCESSING,

0 commit comments

Comments
 (0)