Skip to content

Commit f737812

Browse files
committed
ACP2E-1066: Credit memo not genrated if order configrable product with decimal quantity
- Added the test coverage.
1 parent 61184ff commit f737812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/api-functional/testsuite/Magento/Sales/Service/V1/CreditMemoGenerateIfConfigurableProductWithDecimalQuantityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function testCreditMemoGenerationWithConfigurableProductDecimalQuantity()
8282
'orderId' => $order->getEntityId()
8383
]
8484
);
85-
$this->assertGreaterThan(0 , $creditMemoResult);
85+
$this->assertGreaterThan(0 , (int) $creditMemoResult);
8686
} catch (NoSuchEntityException $e) {
8787
$this->fail('Failed asserting that Creditmemo was not created');
8888
}

0 commit comments

Comments
 (0)