/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
tests/Integration/Generators/QueueBatchesTableCommandTest.php
20 строк
628 B
Taylor Otwell
[11.x] Slim skeleton support (#47309)
28 ноя 2023, 23:26
Не верифицирован
28 ноя 2023, 23:26
1d878cc
Код
Авторство
О чём код?
<?php namespace Illuminate\Tests\Integration\Generators; use Illuminate\Queue\Console\BatchesTableCommand; class QueueBatchesTableCommandTest extends TestCase { public function testCreateMakesMigration() { $this->artisan(BatchesTableCommand::class)->assertExitCode(0); $this->assertMigrationFileContains([ 'use Illuminate\Database\Migrations\Migration;', 'return new class extends Migration', 'Schema::create(\'job_batches\', function (Blueprint $table) {', 'Schema::dropIfExists(\'job_batches\');', ], 'create_job_batches_table.php'); } }