Skip to content

Commit c0ab9d7

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

File tree

1 file changed

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

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616

1717
/**
1818
* Checks that the qty increments config backend model is working correctly
19+
*
20+
* @see \Magento\CatalogInventory\Model\System\Config\Backend\Qtyincrements
21+
*
22+
* @magentoAppArea adminhtml
1923
*/
2024
class QtyincrementsTest extends TestCase
2125
{
@@ -34,11 +38,11 @@ class QtyincrementsTest extends TestCase
3438
protected function setUp(): void
3539
{
3640
$this->objectManager = Bootstrap::getObjectManager();
37-
$this->backendFactory = $this->objectManager->create(BackendFactory::class);
41+
$this->backendFactory = $this->objectManager->get(BackendFactory::class);
3842
$this->qtyIncrements = $this->backendFactory->create(Qtyincrements::class, [
3943
'data' => [
4044
'path' => Configuration::XML_PATH_QTY_INCREMENTS,
41-
]
45+
],
4246
]);
4347
}
4448

0 commit comments

Comments
 (0)