From a3bfd21324cdff06e6edae5ffef44db00150ae5a Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 18 Jan 2021 21:52:33 +0100 Subject: [PATCH] Update BuyableProduct.php --- tests/Fixtures/BuyableProduct.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/Fixtures/BuyableProduct.php b/tests/Fixtures/BuyableProduct.php index 47730dc..be0c08e 100644 --- a/tests/Fixtures/BuyableProduct.php +++ b/tests/Fixtures/BuyableProduct.php @@ -7,6 +7,13 @@ use Illuminate\Database\Eloquent\Model; class BuyableProduct extends Model implements Buyable { + protected $attributes = [ + 'id' => 1, + 'name' => 'Item name', + 'price' => 10.00, + 'weight' => 0, + ]; + /** * Get the identifier of the Buyable item. *