Skip to content

Commit

Permalink
Fix invalid test case in FindDocInfosByKeys (yorkie-team#972)
Browse files Browse the repository at this point in the history
Co-authored-by: Youngteac Hong <susukang98@gmail.com>
  • Loading branch information
2 people authored and binary-ho committed Sep 1, 2024
1 parent 25dddc6 commit 5dfddad
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 @@ -144,7 +144,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 5dfddad

Please sign in to comment.