Skip to content

Commit

Permalink
Fixed build warnings (#361)
Browse files Browse the repository at this point in the history
* Fixed build warnings

* Restore warning
  • Loading branch information
mtmk authored Jan 28, 2024
1 parent cd4b50a commit 70192f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/NATS.Client.JetStream.Tests/NatsJsContextFactoryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,15 @@ public void Create_Context_WithMockConnection_Test()

public class MockConnection : INatsConnection
{
#pragma warning disable CS0067
public event AsyncEventHandler<NatsEventArgs>? ConnectionDisconnected;

public event AsyncEventHandler<NatsEventArgs>? ConnectionOpened;

public event AsyncEventHandler<NatsEventArgs>? ReconnectFailed;

public event AsyncEventHandler<NatsMessageDroppedEventArgs>? MessageDropped;
#pragma warning restore CS0067

public INatsServerInfo? ServerInfo { get; } = null;

Expand Down

0 comments on commit 70192f3

Please sign in to comment.