Skip to content

Commit 60d81ce

Browse files
committed
* Fix consumer in test to use the correct channel instance.
1 parent 5e2d227 commit 60d81ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/Test/Integration/TestAsyncConsumer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ public async Task TestDeclarationOfManyAutoDeleteQueuesWithTransientConsumer()
607607
{
608608
QueueName q = GenerateQueueName();
609609
await ch.QueueDeclareAsync(q, false, false, true);
610-
var dummy = new AsyncEventingBasicConsumer(_channel);
610+
var dummy = new AsyncEventingBasicConsumer(ch);
611611
ConsumerTag tag = await ch.BasicConsumeAsync(q, true, dummy);
612612
await ch.BasicCancelAsync(tag);
613613
}

0 commit comments

Comments
 (0)