Skip to content

Commit

Permalink
Fixed integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
diogo-nogueira-freiheit committed Oct 21, 2024
1 parent 6acc325 commit 6a5c579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration-tests/release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ func callDBForLock(t *testing.T, dbHandler *db.DBHandler, ctx context.Context, e

func callDBForReleases(t *testing.T, dbHandler *db.DBHandler, ctx context.Context, appName string) []*db.DBReleaseWithMetaData {
release, err := db.WithTransactionMultipleEntriesT(dbHandler, ctx, true, func(ctx context.Context, transaction *sql.Tx) ([]*db.DBReleaseWithMetaData, error) {
return dbHandler.DBSelectReleasesByApp(ctx, transaction, appName, false, true)
return dbHandler.DBSelectReleasesByAppLatestEslVersion(ctx, transaction, appName, true)
})
if err != nil {
t.Fatalf("DBSelectReleasesByApp failed %s", err)
Expand Down

0 comments on commit 6a5c579

Please sign in to comment.