diff --git a/src/MasterProduct/Tests/Unit/MasterProductVariantStockTest.php b/src/MasterProduct/Tests/Unit/MasterProductVariantStockTest.php index 0cc92c99a..1a3260943 100644 --- a/src/MasterProduct/Tests/Unit/MasterProductVariantStockTest.php +++ b/src/MasterProduct/Tests/Unit/MasterProductVariantStockTest.php @@ -139,6 +139,7 @@ public function it_implements_the_stockable_interface() $this->assertEquals(3, $product->totalAvailableQuantity()); $backOrderProduct = MasterProductVariant::create([ + 'master_product_id' => $this->master->id, 'name' => 'Yokka Mokka Screen 17', 'sku' => 'YMSCR4', 'stock' => -1,