Skip to content

Commit

Permalink
Laravel 11 test (barryvdh#1551)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikn69 authored Feb 29, 2024
1 parent ab0b9e1 commit 2a6c142
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
php: [8.3, 8.2, 8.1, 8.0]
laravel: [^10, ^9]
laravel: [^11, ^10, ^9]
dependency-version: [prefer-stable]
exclude:
- laravel: ^10
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"require-dev": {
"mockery/mockery": "^1.3.3",
"orchestra/testbench-dusk": "^5|^6|^7|^8|^9",
"phpunit/phpunit": "^8.5.30|^9.0",
"phpunit/phpunit": "^9.6|^10.5",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
Expand Down
4 changes: 4 additions & 0 deletions tests/DataCollector/JobsCollectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ protected function createJobsTable()
{
public function up()
{
if (Schema::hasTable('jobs')) {
return;
}

Schema::create('jobs', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('queue')->index();
Expand Down

0 comments on commit 2a6c142

Please sign in to comment.