From a4afdcb6b9ae281869906c68a3c7992a9e378082 Mon Sep 17 00:00:00 2001 From: Gil LaHaye Date: Wed, 6 Dec 2023 20:29:46 -0800 Subject: [PATCH] Fix typo --- integration-tests/ChatTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/integration-tests/ChatTests.cs b/integration-tests/ChatTests.cs index 6a1bf8238..4b1470024 100644 --- a/integration-tests/ChatTests.cs +++ b/integration-tests/ChatTests.cs @@ -24,8 +24,8 @@ public async void ChatWithBot() response.EnsureSuccessStatusCode(); var contentStream = await response.Content.ReadAsStreamAsync(); - var createChatReponse = await JsonSerializer.DeserializeAsync(contentStream, new JsonSerializerOptions { PropertyNameCaseInsensitive = true }); - Assert.NotNull(createChatReponse); + var createChatResponse = await JsonSerializer.DeserializeAsync(contentStream, new JsonSerializerOptions { PropertyNameCaseInsensitive = true }); + Assert.NotNull(createChatResponse); // Ask something to the bot var ask = new Ask @@ -33,7 +33,7 @@ public async void ChatWithBot() Input = "Who is Satya Nadella?", Variables = new KeyValuePair[] { new("MessageType", ChatMessageType.Message.ToString()) } }; - response = await this._httpClient.PostAsJsonAsync($"chats/{createChatReponse.ChatSession.Id}/messages", ask); + response = await this._httpClient.PostAsJsonAsync($"chats/{createChatResponse.ChatSession.Id}/messages", ask); response.EnsureSuccessStatusCode(); contentStream = await response.Content.ReadAsStreamAsync(); @@ -43,7 +43,7 @@ public async void ChatWithBot() // Clean up - response = await this._httpClient.DeleteAsync($"chats/{createChatReponse.ChatSession.Id}"); + response = await this._httpClient.DeleteAsync($"chats/{createChatResponse.ChatSession.Id}"); response.EnsureSuccessStatusCode(); } }