Laravel File Upload testing not image -
we know can fake image upload in laravel. in case have form request validates audio/mpeg mime type. don't know how possible fake type of file test.
public function rules(): array { return [ 'media' => 'required|mimes:mp3', ]; }
Comments
Post a Comment