Laravel 11 test (#1551)

This commit is contained in:
erikn69 2024-02-29 01:39:54 -05:00 committed by GitHub
parent ab0b9e1a8e
commit 2a6c142480
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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": {

View File

@ -63,6 +63,10 @@ class JobsCollectorTest extends TestCase
{
public function up()
{
if (Schema::hasTable('jobs')) {
return;
}
Schema::create('jobs', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('queue')->index();