Skip to content

Commit

Permalink
fix: int test
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Oct 23, 2024
1 parent f33a1a8 commit 21766bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/repository/testworkflow/mongo.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ func composeQueryAndOpts(filter Filter) (bson.M, *options.FindOptions) {
}

if filter.ActorTypeDefined() {
query["runningcontext.actor.type"] = filter.ActorType()
query["runningcontext.actor.type_"] = filter.ActorType()
}

opts.SetSkip(int64(filter.Page() * filter.PageSize()))
Expand Down
1 change: 0 additions & 1 deletion pkg/repository/testworkflow/mongo_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,6 @@ func TestNewMongoRepository_GetExecutions_Actor_Integration(t *testing.T) {
}

assert.Len(t, res, 2)
assert.Equal(t, "test-name-1", res)

actorName := "user-1"
res, err = repo.GetExecutions(ctx, NewExecutionsFilter().WithActorName(actorName))
Expand Down

0 comments on commit 21766bf

Please sign in to comment.