Compare commits
No commits in common. "55d253aa7b16ed5b65cd51afac58ef41dc8c645d" and "8117cfb4f48e9f2d6f7ab0f627f37515be3b2308" have entirely different histories.
55d253aa7b
...
8117cfb4f4
|
@ -31,7 +31,6 @@ class FormStoreAction
|
||||||
'mail_top' => 'nullable|string',
|
'mail_top' => 'nullable|string',
|
||||||
'mail_bottom' => 'nullable|string',
|
'mail_bottom' => 'nullable|string',
|
||||||
'header_image' => 'required|exclude',
|
'header_image' => 'required|exclude',
|
||||||
'mailattachments' => 'present|array|exclude',
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,7 @@ class FormRequest extends RequestFactory
|
||||||
'registration_until' => $this->faker->dateTime()->format('Y-m-d H:i:s'),
|
'registration_until' => $this->faker->dateTime()->format('Y-m-d H:i:s'),
|
||||||
'mail_top' => $this->faker->text(),
|
'mail_top' => $this->faker->text(),
|
||||||
'mail_bottom' => $this->faker->text(),
|
'mail_bottom' => $this->faker->text(),
|
||||||
'header_image' => $this->getHeaderImagePayload(str()->uuid() . '.jpg'),
|
'header_image' => $this->getHeaderImagePayload(str()->uuid() . '.jpg')
|
||||||
'mailattachments' => [],
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ class FormtemplateIndexActionTest extends TestCase
|
||||||
'required' => true,
|
'required' => true,
|
||||||
]
|
]
|
||||||
])
|
])
|
||||||
->assertInertiaPath('data.meta.fields.9', [
|
->assertInertiaPath('data.meta.fields.7', [
|
||||||
'id' => 'TextField',
|
'id' => 'TextField',
|
||||||
'name' => 'Text',
|
'name' => 'Text',
|
||||||
'default' => [
|
'default' => [
|
||||||
|
@ -61,7 +61,7 @@ class FormtemplateIndexActionTest extends TestCase
|
||||||
'required' => true,
|
'required' => true,
|
||||||
]
|
]
|
||||||
])
|
])
|
||||||
->assertInertiaPath('data.meta.fields.10', [
|
->assertInertiaPath('data.meta.fields.8', [
|
||||||
'id' => 'TextareaField',
|
'id' => 'TextareaField',
|
||||||
'name' => 'Textarea',
|
'name' => 'Textarea',
|
||||||
'default' => [
|
'default' => [
|
||||||
|
|
Loading…
Reference in New Issue