From 0e88bb9dfc891b718617e4d6a76cfdcd4674b21a Mon Sep 17 00:00:00 2001 From: Keith Brink Date: Wed, 17 Apr 2024 18:06:15 +0300 Subject: [PATCH] Fix setup containers --- tests/Setup/SetupContainers.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Setup/SetupContainers.php b/tests/Setup/SetupContainers.php index a3e41d41..8397bcb4 100644 --- a/tests/Setup/SetupContainers.php +++ b/tests/Setup/SetupContainers.php @@ -9,7 +9,7 @@ trait SetupContainers { public function setupContainers(): ContainerListSchema { - return new ContainerListSchema([ + return ContainerListSchema::from([ [ 'container_type' => 'PACKAGE', 'container_reference_id' => Str::random(), @@ -41,6 +41,7 @@ public function setupContainers(): ContainerListSchema 'unit' => 'lb', 'value' => 0.08164656, ], - ], ]; + ], + ]); } }