Skip to content

Commit

Permalink
Use toBeFile() in upload test
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey committed Sep 4, 2023
1 parent 6406d7c commit 17103f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Feature/UploadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
->toMatchArray($data['expect'])
->toHaveKey('tmp_name')
->{$data['file']}->tmp_name
->toStartWith(realpath(sys_get_temp_dir()));

->toBeFile();
})->with('UPLOAD');


Expand Down

0 comments on commit 17103f4

Please sign in to comment.