From ad7fe80236429e6b833cdfa991e09eb099e6d92a Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 12 Jul 2024 18:27:18 +0200 Subject: [PATCH] Fix tests --- tests/Feature/Form/FormRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Form/FormRequest.php b/tests/Feature/Form/FormRequest.php index cc87dcea..1fd69672 100644 --- a/tests/Feature/Form/FormRequest.php +++ b/tests/Feature/Form/FormRequest.php @@ -53,7 +53,7 @@ class FormRequest extends RequestFactory 'export' => ExportData::from([])->toArray(), 'needs_prevention' => $this->faker->boolean(), 'prevention_text' => EditorRequestFactory::new()->create(), - 'prevention_conditions' => Condition::defaults(), + 'prevention_conditions' => Condition::defaults()->toArray(), ]; }