Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(warnings): in unit test project #487

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<ItemGroup>
<PackageReference Include="Arcus.Security.Core" Version="2.0.0" />
<PackageReference Include="Arcus.Testing.Security.Providers.InMemory" Version="0.5.0" />
<PackageReference Include="Arcus.Testing.Security.Providers.InMemory" Version="1.2.0" />
<PackageReference Include="Arcus.Testing.Logging.Xunit" Version="1.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="Moq" Version="4.13.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
using Moq;
using Xunit;

#pragma warning disable CS0618 // Disable warning for usage of deprecated functionality that will be removed in v3.0.

namespace Arcus.Messaging.Tests.Unit.ServiceBus
{
public class ProcessMessageEventArgsExtensionsTests
Expand All @@ -19,7 +21,7 @@ public void CreateEventArgs_WithServiceBusReceiver_GetsServiceBusReceiverSucceed

// Act
var eventArgs = new ProcessMessageEventArgs(message, expectedReceiver, CancellationToken.None);

// Assert
ServiceBusReceiver actualReceiver = eventArgs.GetServiceBusReceiver();
Assert.Equal(expectedReceiver, actualReceiver);
Expand Down
Loading