diff --git a/tests/Feature/UploadTest.php b/tests/Feature/UploadTest.php index 7bc8fcf..fd82de2 100644 --- a/tests/Feature/UploadTest.php +++ b/tests/Feature/UploadTest.php @@ -36,8 +36,7 @@ ->toMatchArray($data['expect']) ->toHaveKey('tmp_name') ->{$data['file']}->tmp_name - ->toStartWith(realpath(sys_get_temp_dir())); - + ->toBeFile(); })->with('UPLOAD');