diff --git a/build/common.props b/build/common.props index 246a7b4..ca3c964 100644 --- a/build/common.props +++ b/build/common.props @@ -39,7 +39,7 @@ - + diff --git a/src/Foundatio.AzureServiceBus/Foundatio.AzureServiceBus.csproj b/src/Foundatio.AzureServiceBus/Foundatio.AzureServiceBus.csproj index 13b32d7..f4a2092 100644 --- a/src/Foundatio.AzureServiceBus/Foundatio.AzureServiceBus.csproj +++ b/src/Foundatio.AzureServiceBus/Foundatio.AzureServiceBus.csproj @@ -4,7 +4,7 @@ - + diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 407c652..99d6211 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -6,13 +6,13 @@ $(NoWarn);CS1591;NU1701 - - + + - + diff --git a/tests/Foundatio.AzureServiceBus.Tests/Messaging/AzureServiceBusMessageBusTests.cs b/tests/Foundatio.AzureServiceBus.Tests/Messaging/AzureServiceBusMessageBusTests.cs index 23fadbd..2ced82d 100644 --- a/tests/Foundatio.AzureServiceBus.Tests/Messaging/AzureServiceBusMessageBusTests.cs +++ b/tests/Foundatio.AzureServiceBus.Tests/Messaging/AzureServiceBusMessageBusTests.cs @@ -1,9 +1,8 @@ -using System; +using System; using System.Threading.Tasks; using Foundatio.Messaging; using Foundatio.Tests.Messaging; using Foundatio.Tests.Utility; -using Microsoft.Extensions.Logging; using Xunit; using Xunit.Abstractions; @@ -64,10 +63,15 @@ public override Task CanSendDerivedMessageAsync() return base.CanSendDerivedMessageAsync(); } + [Fact] + public override Task CanSendMappedMessageAsync() + { + return base.CanSendMappedMessageAsync(); + } + [Fact] public override Task CanSendDelayedMessageAsync() { - Log.SetLogLevel(LogLevel.Information); return base.CanSendDelayedMessageAsync(); } @@ -113,6 +117,12 @@ public override Task CanSubscribeToAllMessageTypesAsync() return base.CanSubscribeToAllMessageTypesAsync(); } + [Fact] + public override Task CanSubscribeToRawMessagesAsync() + { + return base.CanSubscribeToRawMessagesAsync(); + } + [Fact] public override Task CanCancelSubscriptionAsync() { diff --git a/tests/Foundatio.AzureServiceBus.Tests/Queues/AzureServiceBusQueueTests.cs b/tests/Foundatio.AzureServiceBus.Tests/Queues/AzureServiceBusQueueTests.cs index dff32d1..e79f3aa 100644 --- a/tests/Foundatio.AzureServiceBus.Tests/Queues/AzureServiceBusQueueTests.cs +++ b/tests/Foundatio.AzureServiceBus.Tests/Queues/AzureServiceBusQueueTests.cs @@ -30,7 +30,7 @@ protected override IQueue GetQueue(int retries = 1, TimeSpan? wo ? new RetryExponential(retryDelay.GetValueOrDefault(), retryDelay.GetValueOrDefault() + retryDelay.GetValueOrDefault(), retries + 1) : RetryPolicy.NoRetry; - _logger.LogDebug("Queue Id: {queueId}", _queueName); + _logger.LogDebug("Queue Id: {QueueId}", _queueName); return new AzureServiceBusQueue(new AzureServiceBusQueueOptions { ConnectionString = connectionString,