diff --git a/tests/Feature/UploadTest.php b/tests/Feature/UploadTest.php index a085645..673da8a 100644 --- a/tests/Feature/UploadTest.php +++ b/tests/Feature/UploadTest.php @@ -36,11 +36,7 @@ ->toMatchArray($data['expect']) ->toHaveKey('tmp_name') ->{$data['file']}->tmp_name - ->toStartWith( - is_link(sys_get_temp_dir()) // OSX - ? readlink(sys_get_temp_dir()) - : sys_get_temp_dir() - ); + ->toBeFile(); })->with('UPLOAD');