Skip to content

Commit db7a319

Browse files
committed
Change now false assertion in TestSyncFnOnPush
1 parent 195ca47 commit db7a319

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

db/database_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,10 @@ func TestSyncFnOnPush(t *testing.T) {
14631463
"public": &channels.ChannelRemoval{Seq: 2, RevID: "4-four"},
14641464
}, doc.Channels)
14651465

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

14691472
func TestInvalidChannel(t *testing.T) {

0 commit comments

Comments
 (0)