From d4d5ec20b5636ef4d83ed48aae2c789341321b8e Mon Sep 17 00:00:00 2001 From: stasex Date: Sat, 11 Nov 2023 00:37:08 +0200 Subject: [PATCH] changed unit test --- ShoppingAssistantApi.UnitTests/ProductTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShoppingAssistantApi.UnitTests/ProductTests.cs b/ShoppingAssistantApi.UnitTests/ProductTests.cs index 9887d90..18b83ea 100644 --- a/ShoppingAssistantApi.UnitTests/ProductTests.cs +++ b/ShoppingAssistantApi.UnitTests/ProductTests.cs @@ -46,10 +46,10 @@ public class ProductTests { "[", "Message", "]", " What", " u", " want", " ?", "[", "Options", "]", " USB-C", " ;", " Keyboard", " ultra", " ;", "[", "Options", "]", " USB", "-C", " ;", "[", "Products", "]", " GTX", " 3090", " ;", " GTX", - " 3070TI", " ;", " GTX", " 4070TI", " ;", " ?" + " 3070TI", " ;", " GTX", " 4070TI", " ;", " ?", "[", "Message", "]", " What", " u", " want", " ?" }; - var expectedMessages = new List { " What", " u", " want", " ?" }; + var expectedMessages = new List { " What", " u", " want", " ?", " What", " u", " want", " ?" }; var expectedSuggestion = new List { " USB-C", " Keyboard ultra", " USB-C" }; // Mock the GetChatCompletionStream method to provide the expected SSE data