Skip to content

Commit 324e32d

Browse files
committed
MAGETWO-45311: Remove dependency on Website for Cataloginventory
- Removed websiteId in test
1 parent 243a457 commit 324e32d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ public function testCatalogInventoryWithBogusData()
121121
$bogusProductId = $this->getDifferent($originalProductId);
122122
$response[self::KEY_EXTENSION_ATTRIBUTES][self::KEY_STOCK_ITEM][self::KEY_PRODUCT_ID] = $bogusProductId;
123123

124-
$bogusWebsiteId = $this->getDifferent($originalWebsiteId);
125-
126124
$response = $this->saveProduct($response);
127125

128126
$stockItemData = $response[self::KEY_EXTENSION_ATTRIBUTES][self::KEY_STOCK_ITEM];
@@ -132,8 +130,6 @@ public function testCatalogInventoryWithBogusData()
132130
$returnedProductId = $stockItemData[self::KEY_PRODUCT_ID];
133131
$this->assertEquals($originalProductId, $returnedProductId);
134132

135-
$this->assertEquals($originalWebsiteId, $returnedWebsiteId);
136-
137133
// delete the product; expect that all goes well
138134
$response = $this->deleteProduct($productData[ProductInterface::SKU]);
139135
$this->assertTrue($response);

0 commit comments

Comments
 (0)