Skip to content

Commit

Permalink
12535: Product change sku via repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalevanec committed Dec 12, 2017
1 parent 4996ea2 commit 390d751
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ protected function setUp()
* Test Product Repository can change(update) "sku" for given product.
*
* @magentoDataFixture Magento/Catalog/_files/product_simple.php
* @magentoDbIsolation enabled
* @magentoAppArea adminhtml
*/
public function testUpdateProductSku()
Expand All @@ -49,8 +48,5 @@ public function testUpdateProductSku()
$updatedProduct = Bootstrap::getObjectManager()->create(Product::class);
$updatedProduct->load($productId);
self::assertSame($newSku, $updatedProduct->getSku());

//clean up.
$this->productRepository->delete($updatedProduct);
}
}

0 comments on commit 390d751

Please sign in to comment.