File tree Expand file tree Collapse file tree
common/test/kotlin/com/couchbase/lite Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ class ConfigFactoryTest : BaseDbTest() {
121121 val target = testEndpoint
122122
123123 val collConfig1 = CollectionConfigurationFactory .newConfig(
124+ testDatabase.defaultCollection,
124125 channels = testChannels,
125126 conflictResolver = testResolver,
126127 documentIDs = testDocIds,
@@ -164,6 +165,7 @@ class ConfigFactoryTest : BaseDbTest() {
164165 @Test
165166 fun testReplConfigCollectionsWithoutDefault () {
166167 val collConfig1 = CollectionConfigurationFactory .newConfig(
168+ testCollection,
167169 channels = testChannels,
168170 conflictResolver = testResolver,
169171 documentIDs = testDocIds,
@@ -194,7 +196,7 @@ class ConfigFactoryTest : BaseDbTest() {
194196 val colls = config.collectionConfigs
195197 Assert .assertNotNull(colls)
196198 Assert .assertEquals(1 , colls.size)
197- Assert .assertTrue(colls.contains(testCollection))
199+ Assert .assertTrue(colls.map { it.collection }. contains(testCollection))
198200
199201 val collConfig2 = config.getCollectionConfiguration(testCollection)
200202
You can’t perform that action at this time.
0 commit comments