I transfer the file through call (), how to transfer headers?
$file = new UploadedFile(public_path('tests\images\test.png'), 'test.png', null, 'image/png', null, true); $filename = $this->call('POST', '/api/admin/upload', [], [], ['file' => $file], ['Accept' => 'application/json']);