From 14a49fa0af1e59232ad8db72494704856d3b7df4 Mon Sep 17 00:00:00 2001 From: Seungyong Lee Date: Wed, 21 Aug 2024 13:35:24 +0900 Subject: [PATCH] Fix invalid test case in FindDocInfosByKeys (#972) Co-authored-by: Youngteac Hong --- server/backend/database/testcases/testcases.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/backend/database/testcases/testcases.go b/server/backend/database/testcases/testcases.go index 9bd173d72..06a54bd20 100644 --- a/server/backend/database/testcases/testcases.go +++ b/server/backend/database/testcases/testcases.go @@ -143,7 +143,7 @@ func RunFindDocInfosByKeysTest( } // 02. Find documents - infos, err := db.FindDocInfosByKeys(ctx, projectID, []key.Key{}) + infos, err := db.FindDocInfosByKeys(ctx, projectID, nil) assert.NoError(t, err) assert.Len(t, infos, 0) })