Skip to content

Commit

Permalink
fix: integration test
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Aug 5, 2024
1 parent 00b6f5c commit 809d898
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/repository/testworkflow/mongo_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 809d898

Please sign in to comment.