Skip to content

Commit

Permalink
Fixing a broken test. Serialize parameters must be an array.
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Nov 27, 2019
1 parent e8b4e29 commit 6b699d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ public async Task ExecuteTestWithStreamParameter()
ItemResponse<dynamic> createItemResponse = await this.container.CreateItemAsync<dynamic>(payload);
Assert.AreEqual(HttpStatusCode.Created, createItemResponse.StatusCode);

MemoryStream streamPayload = new MemoryStream(Encoding.UTF8.GetBytes(@"""one"""));
MemoryStream streamPayload = new MemoryStream(Encoding.UTF8.GetBytes(@"[""one""]"));

ResponseMessage response = await this.scripts.ExecuteStoredProcedureStreamAsync(
sprocId,
Expand Down

0 comments on commit 6b699d0

Please sign in to comment.