Skip to content

Commit

Permalink
Update server/backend/database/testcases/testcases.go
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins authored Aug 21, 2024
1 parent c942b78 commit a0fed90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/backend/database/testcases/testcases.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ func RunFindDocInfosByKeysTest(
}

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

0 comments on commit a0fed90

Please sign in to comment.