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, ], - ], ]; + ], + ]); } }