Skip to content

Commit

Permalink
GitHub Action debug
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephSilber committed Mar 13, 2024
1 parent d6b9314 commit e932256
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
strategy:
fail-fast: false
matrix:
laravel: [6.*, 7.*, 8.*, 9.*, 10.*, 11.*]
php: [7.2, 7.3, 8.0, 8.1, 8.2, 8.3]
laravel: [11.*]
php: [8.3]
exclude:

- laravel: 11.*
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
"illuminate/cache": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/container": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0"
"illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"larapack/dd": "^1.1"
},
"require-dev": {
"illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/events": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"larapack/dd": "^1.1",
"mockery/mockery": "^1.3.3",
"phpunit/phpunit": "^8.0|^9.0"
},
Expand Down
6 changes: 4 additions & 2 deletions tests/CleanCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ function the_orphaned_flag()
$bouncer->disallow($user)->to(['access-dashboard', 'ban-users']);

$this->assertEquals(3, Ability::query()->count());

try {
$this->clean(['--unassigned' => true], '<info>Deleted 2 unassigned abilities.</info>');

} catch (\Exception $e) {
dd($e);
}
$this->assertEquals(1, Ability::query()->count());
$this->assertTrue($bouncer->can('throw-dishes'));
}
Expand Down

0 comments on commit e932256

Please sign in to comment.