Skip to content

Commit fd48477

Browse files
committed
fix test
1 parent 5792383 commit fd48477

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/Helsenorge.Messaging.Tests/Amqp/Senders/SynchronousWithoutWaitingSendTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void Send_SynchronousWithoutWaiting_Using_CPA()
5151
}
5252

5353
[TestMethod]
54-
[ExpectedException(typeof(NullReferenceException))]
54+
[ExpectedException(typeof(ArgumentNullException))]
5555
public void Send_SynchronousWithoutWaiting_NoMessage()
5656
{
5757
RunAndHandleException(Client.SendWithoutWaitingAsync(null));

test/Helsenorge.Messaging.Tests/BaseTest.cs

-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ protected void RunAndHandleException(Task task)
203203
}
204204
catch (AggregateException ex)
205205
{
206-
207206
throw ex.InnerException;
208207
}
209208
}

0 commit comments

Comments
 (0)