Skip to content

Commit

Permalink
Upload test change to use toBeFile()
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey committed Sep 4, 2023
1 parent d383fe8 commit f57d062
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/Feature/UploadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit f57d062

Please sign in to comment.