Fixed tests
continuous-integration/drone/push Build is failing Details

This commit is contained in:
philipp lang 2024-04-15 16:23:32 +02:00
parent f84decbb52
commit 55d253aa7b
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,7 @@ class FormStoreAction
'mail_top' => 'nullable|string',
'mail_bottom' => 'nullable|string',
'header_image' => 'required|exclude',
'mailattachments' => 'present|array|exclude',
];
}

View File

@ -42,7 +42,8 @@ class FormRequest extends RequestFactory
'registration_until' => $this->faker->dateTime()->format('Y-m-d H:i:s'),
'mail_top' => $this->faker->text(),
'mail_bottom' => $this->faker->text(),
'header_image' => $this->getHeaderImagePayload(str()->uuid() . '.jpg')
'header_image' => $this->getHeaderImagePayload(str()->uuid() . '.jpg'),
'mailattachments' => [],
];
}