Skip to content

Commit

Permalink
Ensure custom attribute values are set
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwanyoike committed Sep 4, 2017
1 parent b206596 commit 26f8e7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Test/Integration/Model/ConfigurableProductMappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ private function setUpConfigurableAttributes()
->create());
$product->setSku('test-product');
$product->setName('Test Product');
$product->setCustomAttribute('test_color', 0);
$product->setCustomAttribute('size', 1);
$product->setPrice(1.00);
$product->setAttributeSetId(4);
$productRepository->save($product);
Expand Down

0 comments on commit 26f8e7b

Please sign in to comment.