diff --git a/Directory.Packages.props b/Directory.Packages.props index ae49aa1f..cc7e58d6 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -55,7 +55,7 @@ - + diff --git a/tests/Whizbang.Hosting.RabbitMQ.Tests/TestDoubles.cs b/tests/Whizbang.Hosting.RabbitMQ.Tests/TestDoubles.cs index d7237eeb..fba1f877 100644 --- a/tests/Whizbang.Hosting.RabbitMQ.Tests/TestDoubles.cs +++ b/tests/Whizbang.Hosting.RabbitMQ.Tests/TestDoubles.cs @@ -151,6 +151,7 @@ public Task BasicQosAsync(uint prefetchSize, ushort prefetchCount, bool global, public ValueTask BasicRejectAsync(ulong deliveryTag, bool requeue, CancellationToken cancellationToken = default) => throw new NotImplementedException(); public Task CloseAsync(ushort replyCode, string replyText, bool abort, CancellationToken cancellationToken = default) => throw new NotImplementedException(); public Task CloseAsync(ShutdownEventArgs reason, bool abort, CancellationToken cancellationToken = default) => throw new NotImplementedException(); + public Task CloseAsync(ShutdownEventArgs reason, bool abort) => Task.CompletedTask; public ValueTask ConfirmSelectAsync(CancellationToken cancellationToken = default) => throw new NotImplementedException(); public Task ConsumerCountAsync(string queue, CancellationToken cancellationToken = default) => throw new NotImplementedException(); public Task ExchangeBindAsync(string destination, string source, string routingKey, IDictionary? arguments, bool noWait, CancellationToken cancellationToken = default) => throw new NotImplementedException(); diff --git a/tests/Whizbang.Transports.RabbitMQ.Tests/TestDoubles.cs b/tests/Whizbang.Transports.RabbitMQ.Tests/TestDoubles.cs index 21b8961d..153a69e3 100644 --- a/tests/Whizbang.Transports.RabbitMQ.Tests/TestDoubles.cs +++ b/tests/Whizbang.Transports.RabbitMQ.Tests/TestDoubles.cs @@ -151,6 +151,7 @@ public Task BasicQosAsync(uint prefetchSize, ushort prefetchCount, bool global, public ValueTask BasicRejectAsync(ulong deliveryTag, bool requeue, CancellationToken cancellationToken = default) => throw new NotImplementedException(); public Task CloseAsync(ushort replyCode, string replyText, bool abort, CancellationToken cancellationToken = default) => throw new NotImplementedException(); public Task CloseAsync(ShutdownEventArgs reason, bool abort, CancellationToken cancellationToken = default) => throw new NotImplementedException(); + public Task CloseAsync(ShutdownEventArgs reason, bool abort) => Task.CompletedTask; public ValueTask ConfirmSelectAsync(CancellationToken cancellationToken = default) => throw new NotImplementedException(); public Task ConsumerCountAsync(string queue, CancellationToken cancellationToken = default) => throw new NotImplementedException(); public Task ExchangeBindAsync(string destination, string source, string routingKey, IDictionary? arguments, bool noWait, CancellationToken cancellationToken = default) => throw new NotImplementedException();