Add Info property to InsertResultCommand in test

The InsertResultProcedure_runs_via_mediator test now sets the Info property to "200" when initializing InsertResultCommand, ensuring the command includes this field during testing.
This commit is contained in:
2026-04-02 20:39:05 +02:00
parent 1d16276a8a
commit 0edf2626a7

View File

@@ -25,7 +25,7 @@ public class ResultProcedureTests : RecApplicationTestBase
[Test] [Test]
public async Task InsertResultProcedure_runs_via_mediator() public async Task InsertResultProcedure_runs_via_mediator()
{ {
var procedure = new InsertResultCommand { ActionId = 1, Status = HttpStatusCode.OK.ToRecStatus(), Header = "h", Body = "b", 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(); var (sender, scope) = CreateScopedSender();
using var _ = scope; using var _ = scope;