Skip to content

Commit 1746104

Browse files
committed
MC-40148: Create automated test for: "Set decimal Qty increment"
1 parent d569dfb commit 1746104

File tree

1 file changed

+3
-1
lines changed
  • dev/tests/integration/testsuite/Magento/CatalogInventory/Model/System/Config/Backend

1 file changed

+3
-1
lines changed

dev/tests/integration/testsuite/Magento/CatalogInventory/Model/System/Config/Backend/QtyincrementsTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ protected function setUp(): void
5252
public function testAfterSaveWithDecimals(): void
5353
{
5454
$this->expectException(LocalizedException::class);
55-
$this->expectExceptionMessage((string)__("Quantity increments can't use decimals. Enter a new increment and try again."));
55+
$this->expectExceptionMessage(
56+
(string)__("Quantity increments can't use decimals. Enter a new increment and try again.")
57+
);
5658
$value = 10.5;
5759
$this->qtyIncrements->setValue((string)$value);
5860
$this->qtyIncrements->beforeSave();

0 commit comments

Comments
 (0)