Skip to content

Commit 7294011

Browse files
author
Martin Lercher
committed
BugFix - ShouldHandleNotification sends to the router, no output is expected, so don't wait for output.
1 parent 4124e7a commit 7294011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/JsonRpc.Tests/InputHandlerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public void ShouldHandleNotification()
158158
incomingRequestRouter,
159159
Substitute.For<IResponseRouter>(),
160160
cts => {
161-
outputHandler.When(x => x.Send(Arg.Any<object>()))
161+
incomingRequestRouter.When(x => x.RouteNotification(Arg.Any<JsonRpc.Server.Notification>()))
162162
.Do(x => {
163163
cts.Cancel();
164164
});

0 commit comments

Comments
 (0)