Skip to content

Commit

Permalink
fix expected channels for TestAllDocsOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
nirav24 committed Jan 10, 2023
1 parent c44cc20 commit 97c1780
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion db/database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,10 @@ 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
// `*` channels gets added to docs for new creation.
// add `*` channel to expected channels
ids[i].Channels = append(channels, "*")

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

Expand Down

0 comments on commit 97c1780

Please sign in to comment.