Skip to content

Commit

Permalink
Add testing for laravel 9 (#7)
Browse files Browse the repository at this point in the history
* Test Laravel 9 with testbench 7
* Add hours to flush method
  • Loading branch information
jonassiewertsen authored Nov 25, 2022
1 parent 816a13a commit f12ab66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- laravel: 8.*
testbench: 6.*
laravel-constraint: ^8.18.1
- laravel: 9.*
testbench: 7.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion src/FileFailedJobProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function forget($id)
*
* @return void
*/
public function flush()
public function flush($hours = null)
{
File::delete($this->storagePath);
}
Expand Down

0 comments on commit f12ab66

Please sign in to comment.