Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update due to yiisoft/queue changes #111

Merged
merged 8 commits into from
Jan 26, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Bugfixes
  • Loading branch information
viktorprogger committed Jan 12, 2025
commit 6aa0bd19ec0d2caa13b39fed475a8f1d8b620f5e
52 changes: 0 additions & 52 deletions src/Exception/NoKeyInPayloadException.php

This file was deleted.

12 changes: 0 additions & 12 deletions tests/Unit/FriendlyExceptionTest.php
Original file line number Diff line number Diff line change
@@ -5,21 +5,9 @@
namespace Yiisoft\Queue\AMQP\Tests\Unit;

use Yiisoft\Queue\AMQP\Exception\ExchangeDeclaredException;
use Yiisoft\Queue\AMQP\Exception\NoKeyInPayloadException;

final class FriendlyExceptionTest extends UnitTestCase
{
public function testNoKeyInPayloadException(): void
{
$exception = new NoKeyInPayloadException(
'test',
['item1', 'item2']
);

self::assertSame('No key "test" in payload', $exception->getName());
$this->assertMatchesRegularExpression('/test/', $exception->getSolution());
}

public function testExchangeDeclaredException(): void
{
$exception = new ExchangeDeclaredException();
Loading