ImageTest::getTestImage PHP Method

getTestImage() protected method

Get a test image that can be uploaded
protected getTestImage ( $fileName ) : Illuminate\Http\UploadedFile
$fileName
return Illuminate\Http\UploadedFile
    protected function getTestImage($fileName)
    {
        return new \Illuminate\Http\UploadedFile(base_path('tests/test-data/test-image.jpg'), $fileName, 'image/jpeg', 5238);
    }