Skip to content

Commit

Permalink
Adapt to SystemClock removal
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed Aug 7, 2024
1 parent d7ecd0f commit 0c4e543
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@
<ItemGroup>
<ProjectReference Include="..\..\src\Foundatio.RabbitMQ\Foundatio.RabbitMQ.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="..\..\docker-compose.yml">
<Link>docker-compose.yml</Link>
</Content>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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<SharedMessageBusOptions, SharedMessageBusOptions> config = null)
Expand Down

0 comments on commit 0c4e543

Please sign in to comment.