diff --git a/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj b/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj index 2123c87..9a985d5 100644 --- a/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj +++ b/src/Foundatio.RabbitMQ/Foundatio.RabbitMQ.csproj @@ -2,7 +2,7 @@ - + diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 7ce35d7..4720cb9 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -6,13 +6,13 @@ $(NoWarn);CS1591;NU1701 - - - + + + - + - + diff --git a/tests/Foundatio.RabbitMQ.Tests/Foundatio.RabbitMQ.Tests.csproj b/tests/Foundatio.RabbitMQ.Tests/Foundatio.RabbitMQ.Tests.csproj index 96c9805..d0c6446 100644 --- a/tests/Foundatio.RabbitMQ.Tests/Foundatio.RabbitMQ.Tests.csproj +++ b/tests/Foundatio.RabbitMQ.Tests/Foundatio.RabbitMQ.Tests.csproj @@ -2,4 +2,9 @@ + + + docker-compose.yml + + \ No newline at end of file diff --git a/tests/Foundatio.RabbitMQ.Tests/Messaging/RabbitMqMessageBusTests.cs b/tests/Foundatio.RabbitMQ.Tests/Messaging/RabbitMqMessageBusTests.cs index 4116567..b44e41c 100644 --- a/tests/Foundatio.RabbitMQ.Tests/Messaging/RabbitMqMessageBusTests.cs +++ b/tests/Foundatio.RabbitMQ.Tests/Messaging/RabbitMqMessageBusTests.cs @@ -5,7 +5,6 @@ using Foundatio.Messaging; using Foundatio.Tests.Extensions; using Foundatio.Tests.Messaging; -using Foundatio.Utility; using Microsoft.Extensions.Logging; using Xunit; using Xunit.Abstractions; @@ -14,7 +13,7 @@ namespace Foundatio.RabbitMQ.Tests.Messaging; public class RabbitMqMessageBusTests : MessageBusTestBase { - private readonly string _topic = $"test_topic_{SystemClock.UtcNow.Ticks}"; + private readonly string _topic = $"test_topic_{DateTime.UtcNow.Ticks}"; public RabbitMqMessageBusTests(ITestOutputHelper output) : base(output) { } protected override IMessageBus GetMessageBus(Func config = null)