From c03033a1b60901357d4255dbfe736f3400b4d5e7 Mon Sep 17 00:00:00 2001 From: Christian Melchior Date: Thu, 5 Oct 2023 10:11:38 +0200 Subject: [PATCH] More schema fixes --- .../kotlin/io/realm/kotlin/test/mongodb/common/AppTests.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/AppTests.kt b/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/AppTests.kt index 6079e3edea..89376e8b61 100644 --- a/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/AppTests.kt +++ b/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/AppTests.kt @@ -386,7 +386,7 @@ class AppTests { // Create Realm in order to create the sync metadata Realm val user = app.asTestApp.createUserAndLogin() val syncConfig = SyncConfiguration - .Builder(user, setOf(ParentPk::class, ChildPk::class)) + .Builder(user, FLEXIBLE_SYNC_SCHEMA) .build() Realm.open(syncConfig).close() @@ -423,7 +423,7 @@ class AppTests { // Create Realm in order to create the sync metadata Realm val user = app.asTestApp.createUserAndLogin() val syncConfig = SyncConfiguration - .Builder(user, setOf(ParentPk::class, ChildPk::class)) + .Builder(user, FLEXIBLE_SYNC_SCHEMA) .build() Realm.open(syncConfig).close()