Skip to content

Commit fa8da15

Browse files
committed
fix tests
1 parent 142a69c commit fa8da15

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎pkg/amqp-lib/Tests/Spec/AmqpSendToTopicAndReceiveFromQueueWithBasicConsumeMethodTest.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ public function test()
3131
{
3232
$context = $this->createContext();
3333

34-
$topic = $context->createTopic('send_to_topic_and_receive_from_queue_spec_basic_consume2');
35-
$topic->setType(AmqpTopic::TYPE_DIRECT);
34+
$topic = $context->createTopic('send_to_topic_and_receive_from_queue_spec_basic_consume3');
35+
$topic->setType(AmqpTopic::TYPE_FANOUT);
3636
$topic->addFlag(AmqpTopic::FLAG_DURABLE);
3737
$context->declareTopic($topic);
3838

39-
$queue = $context->createQueue('send_to_topic_and_receive_from_queue_spec_basic_consume2');
39+
$queue = $context->createQueue('send_to_topic_and_receive_from_queue_spec_basic_consume3');
4040
$context->declareQueue($queue);
4141
$context->purgeQueue($queue);
4242

0 commit comments

Comments
 (0)