Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Nov 29, 2023
1 parent ba84fc4 commit 531e020
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Console/FailedTableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use Symfony\Component\Console\Attribute\AsCommand;

/**
* @see https://github.com/laravel/framework/blob/master/src/Illuminate/Queue/Console/BatchesTableCommand.php
* @see https://github.com/laravel/framework/blob/master/src/Illuminate/Queue/Console/FailedTableCommand.php
*/
#[AsCommand(name: 'make:queue-batches-table', description: 'Create a migration for the failed queue jobs database table')]
#[AsCommand(name: 'make:queue-failed-table', description: 'Create a migration for the failed queue jobs database table')]
class FailedTableCommand extends \Illuminate\Queue\Console\FailedTableCommand
{
use MigrationGenerator;
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Console/BatchesTableCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class BatchesTableCommandTest extends TestCase
#[Test]
public function it_can_generate_migration_file()
{
$this->artisan('make:queue-batches-table', ['--preset' => 'canvas'])
$this->artisan(BatchesTableCommand::class, ['--preset' => 'canvas'])
->assertSuccessful();

$this->assertMigrationFileContains([
Expand Down

0 comments on commit 531e020

Please sign in to comment.