Skip to content

Commit

Permalink
Fixed TestStreamFailsIfIncorrectValuePassedToStreamMethod (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
cynicaljoy authored Oct 4, 2023
1 parent 628aac2 commit 37ff230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FaunaDB.Client.Test/StreamingTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public void TestStreamFailsIfIncorrectValuePassedToStreamMethod()
{
AsyncTestDelegate doc = async () => { await adminClient.Stream(Collection("streams_test")); };
var ex = Assert.ThrowsAsync<BadRequest>(doc);
Assert.AreEqual("invalid argument: Expected a Document Ref or Version, got Collection Ref.", ex.Message);
AssertErrors(ex, code: "invalid argument", description: "Expected a Document Ref or Version, got Collection Ref.");
Assert.AreEqual("invalid argument: Expected a Document Ref or Version, or a Set Ref, got Collection Ref.", ex.Message);
AssertErrors(ex, code: "invalid argument", description: "Expected a Document Ref or Version, or a Set Ref, got Collection Ref.");
}

[Test]
Expand Down

0 comments on commit 37ff230

Please sign in to comment.