Skip to content

Commit cb99a50

Browse files
author
Yu Tang
committed
MAGETWO-33661: Refactor CatalogInventory module to use mutable data object interfaces
- Fix api-functional test failure
1 parent 00f052a commit cb99a50

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/code/Magento/CatalogInventory/Api/Data/StockItemInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ interface StockItemInterface extends ExtensibleDataInterface
3535
const BACKORDERS = 'backorders';
3636

3737
const USE_CONFIG_NOTIFY_STOCK_QTY = 'use_config_notify_stock_qty';
38-
const NOTIFY_STOCK_QTY = 'use_config_notify_stock_qty';
38+
const NOTIFY_STOCK_QTY = 'notify_stock_qty';
3939

4040
const USE_CONFIG_QTY_INCREMENTS = 'use_config_qty_increments';
4141
const QTY_INCREMENTS = 'qty_increments';

dev/tests/api-functional/testsuite/Magento/CatalogInventory/Api/StockItemTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ public function saveStockItemBySkuWithWrongInputDataProvider()
166166
'use_config_enable_qty_inc' => 1,
167167
'enable_qty_increments' => 0,
168168
'is_decimal_divided' => 0,
169-
'show_default_notification_message' => false,
170169
],
171170
[
172171
'item_id' => '1',

0 commit comments

Comments
 (0)