Skip to content

Commit

Permalink
Add simple tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Nov 22, 2023
1 parent 81fc0d2 commit d6563e7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/Unit/ConsoleQueueTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

declare(strict_types=1);

namespace Yiisoft\Yii\Queue\Tests\Unit;

use PHPUnit\Framework\TestCase;

final class ConsoleQueueTest extends TestCase
{
public function testQueueRunsSuccessfully(): void
{
$output = shell_exec('php ./bin/queue');

$this->assertStringContainsString('Yii Queue Tool 1.0.0', $output);
}
}

0 comments on commit d6563e7

Please sign in to comment.