diff --git a/tests/Fixtures/BuyableProductTrait.php b/tests/Fixtures/BuyableProductTrait.php index 9bfee7e..958e17e 100644 --- a/tests/Fixtures/BuyableProductTrait.php +++ b/tests/Fixtures/BuyableProductTrait.php @@ -9,6 +9,18 @@ class BuyableProductTrait extends Model implements Buyable { use \Gloudemans\Shoppingcart\CanBeBought; + /** + * The attributes that are mass assignable. + * + * @var array + */ + protected $fillable = [ + 'id', + 'name', + 'price', + 'weight' + ]; + protected $attributes = [ 'id' => 1, 'name' => 'Item name',