Skip to content

Commit

Permalink
hack TestAllDocsOnly to account for * channel
Browse files Browse the repository at this point in the history
  • Loading branch information
nirav24 committed Dec 29, 2022
1 parent b773173 commit d0a9ee1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion db/database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,9 @@ func TestAllDocsOnly(t *testing.T) {
revid, _, err := collection.Put(ctx, ids[i].DocID, body)
ids[i].RevID = revid
ids[i].Sequence = uint64(i + 1)
ids[i].Channels = channels
// FIXME: find proper solution to account for * channel
ids[i].Channels = append(channels, "*")

assert.NoError(t, err, "Couldn't create document")
}

Expand Down

0 comments on commit d0a9ee1

Please sign in to comment.