Skip to content

Commit

Permalink
Fix invalid test case
Browse files Browse the repository at this point in the history
  • Loading branch information
kokodak committed Aug 20, 2024
1 parent eb0c2d3 commit c942b78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/backend/database/testcases/testcases.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ func RunFindDocInfosByKeysTest(
}

// 02. Find documents
infos, err := db.FindDocInfosByKeys(ctx, projectID, []key.Key{})
var emptyKeys []key.Key
infos, err := db.FindDocInfosByKeys(ctx, projectID, emptyKeys)
assert.NoError(t, err)
assert.Len(t, infos, 0)
})
Expand Down

0 comments on commit c942b78

Please sign in to comment.