From 2aa272dbef2c0d638fa113c667a471064647f62a Mon Sep 17 00:00:00 2001 From: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:41:22 +0000 Subject: [PATCH] Update dotnet/src/SemanticKernel.UnitTests/Functions/KernelFunctionFromMethodTests1.cs Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com> --- .../Functions/KernelFunctionFromMethodTests1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/SemanticKernel.UnitTests/Functions/KernelFunctionFromMethodTests1.cs b/dotnet/src/SemanticKernel.UnitTests/Functions/KernelFunctionFromMethodTests1.cs index 73524ccf8446..b21b05291ed7 100644 --- a/dotnet/src/SemanticKernel.UnitTests/Functions/KernelFunctionFromMethodTests1.cs +++ b/dotnet/src/SemanticKernel.UnitTests/Functions/KernelFunctionFromMethodTests1.cs @@ -894,7 +894,7 @@ public async Task ItSupportsJsonElementArgumentsImplicitConversionAsync() ["d"] = JsonSerializer.Deserialize((float)1.0), //Passed to parameter of type double ["f"] = JsonSerializer.Deserialize((uint)1.0), //Passed to parameter of type float ["g"] = JsonSerializer.Deserialize(JsonSerializer.Serialize(new Guid("35626209-b0ab-458c-bfc4-43e6c7bd13dc"))), //Passed to parameter of type string - ["dof"] = JsonSerializer.Deserialize(JsonSerializer.Serialize(DayOfWeek.Thursday)), //Passed to parameter of type string + ["dof"] = JsonSerializer.Deserialize(JsonSerializer.Serialize(DayOfWeek.Thursday)), //Passed to parameter of type int ["b"] = JsonSerializer.Deserialize(JsonSerializer.Serialize("true")), //Passed to parameter of type bool };