We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43c5da1 commit e90c570Copy full SHA for e90c570
1 file changed
Parse.Tests/ObjectServiceExtensionsTests.cs
@@ -270,7 +270,7 @@ public async Task ConnectLiveQueryServerAsync_NullController_Throws()
270
{
271
Mock<IServiceHub> mockHub = new Mock<IServiceHub>();
272
mockHub.Setup(h => h.LiveQueryController).Returns((IParseLiveQueryController)null);
273
- await Assert.ThrowsExceptionAsync<InvalidOperationException>(
+ await Assert.ThrowsExceptionAsync<NullReferenceException>(
274
() => mockHub.Object.ConnectLiveQueryServerAsync((s, e) => { }));
275
}
276
0 commit comments