Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Commit 62b1a4f

Browse files
author
Anton Vorontsov
committed
Made some infrastructure test methods static.
1 parent b7f3cbd commit 62b1a4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/RabbitMQ.Client.Core.DependencyInjection.Tests/IntegrationTests/QueueServiceTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public async Task ShouldProperlyPublishAndConsumeMessages()
6767
callerMock.Verify(x => x.CallAsync(It.IsAny<string>()), Times.Exactly(2));
6868
}
6969

70-
RabbitMqClientOptions GetClientOptions() =>
70+
static RabbitMqClientOptions GetClientOptions() =>
7171
new RabbitMqClientOptions
7272
{
7373
HostName = "rabbitmq",
@@ -77,7 +77,7 @@ RabbitMqClientOptions GetClientOptions() =>
7777
VirtualHost = "/"
7878
};
7979

80-
RabbitMqExchangeOptions GetExchangeOptions() =>
80+
static RabbitMqExchangeOptions GetExchangeOptions() =>
8181
new RabbitMqExchangeOptions
8282
{
8383
Type = "direct",

0 commit comments

Comments
 (0)