Skip to content

Commit

Permalink
Change now false assertion in TestSyncFnOnPush
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrks committed Sep 13, 2023
1 parent 195ca47 commit db7a319
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 @@ -1463,7 +1463,10 @@ func TestSyncFnOnPush(t *testing.T) {
"public": &channels.ChannelRemoval{Seq: 2, RevID: "4-four"},
}, doc.Channels)

assert.Equal(t, base.SetOf("clibup"), doc.History["4-four"].Channels)
// We no longer store channels for the winning revision in the RevTree,
// so don't expect it to be in doc.History like it used to be...
// The above assertion ensured the doc was *actually* in the correct channel.
assert.Nil(t, doc.History["4-four"].Channels)
}

func TestInvalidChannel(t *testing.T) {
Expand Down

0 comments on commit db7a319

Please sign in to comment.