Laravel 11 test (#1551)
This commit is contained in:
parent
ab0b9e1a8e
commit
2a6c142480
|
@ -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
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue