Skip to content

Commit

Permalink
update test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
arukompas committed Jul 22, 2023
1 parent 6976e49 commit da5e896
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/Unit/FilePathsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
$files = LogViewer::getFiles();

expect($files)->toHaveCount(2)
->and($files->contains('path', $first->path))->toBeTrue()
->and($files->contains('path', $second->path))->toBeTrue();
->and($files->contains('name', $first->name))->toBeTrue()
->and($files->contains('name', $second->name))->toBeTrue()
->and(file_exists($files[0]->path))->toBeTrue()
->and(file_exists($files[1]->path))->toBeTrue();
});

0 comments on commit da5e896

Please sign in to comment.