From 4cc8d22756d827a97fb2645701a1b709f3ef29c2 Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 15 Apr 2026 11:48:38 +0200 Subject: [PATCH] Update InsertResultCommand Info property to use integer Changed the Info property in InsertResultCommand initialization from a string ("200") to an integer (200) to match the expected data type. This ensures type consistency in the test setup. --- tests/ReC.Tests/Application/Results/ResultProcedureTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ReC.Tests/Application/Results/ResultProcedureTests.cs b/tests/ReC.Tests/Application/Results/ResultProcedureTests.cs index 112f3bd..9839b52 100644 --- a/tests/ReC.Tests/Application/Results/ResultProcedureTests.cs +++ b/tests/ReC.Tests/Application/Results/ResultProcedureTests.cs @@ -25,7 +25,7 @@ public class ResultProcedureTests : RecApplicationTestBase [Test] public async Task InsertResultProcedure_runs_via_mediator() { - var procedure = new InsertResultCommand { ActionId = 1, Status = HttpStatusCode.OK.ToRecStatus(), Header = "h", Body = "b", Info = "200", Type = Domain.Constants.ResultType.Main }; + var procedure = new InsertResultCommand { ActionId = 1, Status = HttpStatusCode.OK.ToRecStatus(), Header = "h", Body = "b", Info = 200, Type = Domain.Constants.ResultType.Main }; var (sender, scope) = CreateScopedSender(); using var _ = scope;