Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Feb 14, 2025
1 parent b3c2d6d commit c0000c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace Yiisoft\Queue;

use LogicException;
use Psr\Log\LoggerInterface;
use Yiisoft\Queue\Adapter\AdapterInterface;
use Yiisoft\Queue\Cli\LoopInterface;
Expand Down
4 changes: 1 addition & 3 deletions tests/Unit/QueueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace Yiisoft\Queue\Tests\Unit;

use LogicException;
use Yiisoft\Queue\Cli\SignalLoop;
use Yiisoft\Queue\Exception\AdapterConfiguration\AdapterNotConfiguredException;
use Yiisoft\Queue\JobStatus;
Expand Down Expand Up @@ -163,8 +162,7 @@ public function testGetChannelWithoutAdapter(): void
{
$queue = $this->getQueue();

$this->expectException(LogicException::class);
$this->expectExceptionMessage('Adapter is not set.');
$this->expectException(AdapterNotConfiguredException::class);
$queue->getChannel();
}
}

0 comments on commit c0000c1

Please sign in to comment.