testing a getHeaderAction

class ListVideos extends ListRecords
{
protected function getHeaderActions()
{
return [
Action::make('add videos')
->form([
FileUpload::make('video')
->acceptedFileTypes(['video/mpeg','video/mp4'])
->multiple()
->disk('minio')
])
];
}
}
class ListVideos extends ListRecords
{
protected function getHeaderActions()
{
return [
Action::make('add videos')
->form([
FileUpload::make('video')
->acceptedFileTypes(['video/mpeg','video/mp4'])
->multiple()
->disk('minio')
])
];
}
}
how can I test a file upload with this code I've tried many combinations and it doesn't run properly. I have other more simple tests working.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?