Skip to content

Commit

Permalink
Fix invalid test case in FindDocInfosByKeys (#972)
Browse files Browse the repository at this point in the history
Co-authored-by: Youngteac Hong <[email protected]>
  • Loading branch information
kokodak and hackerwins authored Aug 21, 2024
1 parent eb0c2d3 commit 14a49fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/backend/database/testcases/testcases.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit 14a49fa

Please sign in to comment.