From 809d898621f6a43c221e45139eef8dae12e90ad8 Mon Sep 17 00:00:00 2001 From: Vladislav Sukhin Date: Mon, 5 Aug 2024 16:05:28 +0300 Subject: [PATCH] fix: integration test Signed-off-by: Vladislav Sukhin --- pkg/repository/testworkflow/mongo_integration_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/repository/testworkflow/mongo_integration_test.go b/pkg/repository/testworkflow/mongo_integration_test.go index efb3eb0ba03..d85329e30ee 100644 --- a/pkg/repository/testworkflow/mongo_integration_test.go +++ b/pkg/repository/testworkflow/mongo_integration_test.go @@ -37,8 +37,10 @@ func TestNewMongoRepository_UpdateReport_Integration(t *testing.T) { repo := NewMongoRepository(db, false, WithMongoRepositorySequence(seq)) execution := testkube.TestWorkflowExecution{ - Id: "test-id", - Name: "test-name", + Id: "test-id", + Workflow: &testkube.TestWorkflow{ + Name: "test-name", + }, } if err := repo.Insert(ctx, &execution); err != nil { t.Fatalf("error inserting execution: %v", err)