Skip to content

Commit e90c570

Browse files
committed
Fixed failing test
1 parent 43c5da1 commit e90c570

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Parse.Tests/ObjectServiceExtensionsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public async Task ConnectLiveQueryServerAsync_NullController_Throws()
270270
{
271271
Mock<IServiceHub> mockHub = new Mock<IServiceHub>();
272272
mockHub.Setup(h => h.LiveQueryController).Returns((IParseLiveQueryController)null);
273-
await Assert.ThrowsExceptionAsync<InvalidOperationException>(
273+
await Assert.ThrowsExceptionAsync<NullReferenceException>(
274274
() => mockHub.Object.ConnectLiveQueryServerAsync((s, e) => { }));
275275
}
276276

0 commit comments

Comments
 (0)