Skip to content

Commit

Permalink
Fix a test that is testing old behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
borrrden committed Mar 10, 2018
1 parent 909022e commit fc64ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Couchbase.Lite.Tests.Shared/QueryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ public void TestLiveQueryBlocksClose()

doc1Listener.WaitForResult(TimeSpan.FromSeconds(20));
otherDb.Invoking(d => d.Dispose())
.ShouldThrow<InvalidOperationException>("because the live query is still active");
.ShouldThrow<CouchbaseLiteException>("because the live query is still active");
} finally {
query.RemoveChangeListener(token);
query.Dispose();
Expand Down

0 comments on commit fc64ae4

Please sign in to comment.