From af124f897b4c5966c81cb05d81e9ddc5357e1b64 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sun, 30 Jun 2024 18:51:14 +0200 Subject: [PATCH] Fix Form export --- database/factories/Form/Models/FormFactory.php | 1 + tests/EndToEnd/Form/FormApiListActionTest.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/database/factories/Form/Models/FormFactory.php b/database/factories/Form/Models/FormFactory.php index 55e2cb25..a9f3aa29 100644 --- a/database/factories/Form/Models/FormFactory.php +++ b/database/factories/Form/Models/FormFactory.php @@ -53,6 +53,7 @@ class FormFactory extends Factory 'mail_bottom' => EditorRequestFactory::new()->create(), 'is_active' => true, 'is_private' => false, + 'export' => ExportData::from([]), ]; } diff --git a/tests/EndToEnd/Form/FormApiListActionTest.php b/tests/EndToEnd/Form/FormApiListActionTest.php index 15bce7a9..3e52497f 100644 --- a/tests/EndToEnd/Form/FormApiListActionTest.php +++ b/tests/EndToEnd/Form/FormApiListActionTest.php @@ -7,7 +7,6 @@ use App\Subactivity; use Carbon\Carbon; use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Support\Facades\Storage; -use Tests\EndToEndTestCase; use Tests\Feature\Form\FormtemplateSectionRequest; use Tests\RequestFactories\EditorRequestFactory;