Compare commits

..

No commits in common. "55d253aa7b16ed5b65cd51afac58ef41dc8c645d" and "8117cfb4f48e9f2d6f7ab0f627f37515be3b2308" have entirely different histories.

3 changed files with 3 additions and 5 deletions

View File

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

View File

@ -42,8 +42,7 @@ 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'),
'mailattachments' => [],
'header_image' => $this->getHeaderImagePayload(str()->uuid() . '.jpg')
];
}

View File

@ -46,7 +46,7 @@ class FormtemplateIndexActionTest extends TestCase
'required' => true,
]
])
->assertInertiaPath('data.meta.fields.9', [
->assertInertiaPath('data.meta.fields.7', [
'id' => 'TextField',
'name' => 'Text',
'default' => [
@ -61,7 +61,7 @@ class FormtemplateIndexActionTest extends TestCase
'required' => true,
]
])
->assertInertiaPath('data.meta.fields.10', [
->assertInertiaPath('data.meta.fields.8', [
'id' => 'TextareaField',
'name' => 'Textarea',
'default' => [