Skip to content

Commit

Permalink
Update schema definitions from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
clementetb committed Oct 16, 2023
1 parent 6b7cd1c commit 05eca72
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,6 @@ class SyncedRealmTests {
errorHandler = { _, error ->
fail(error.toString())
},
schema = FLEXIBLE_SYNC_SCHEMA,
initialSubscriptions = { realm: Realm ->
realm.query<FlexParentObject>()
.subscribe(name = "parentSubscription")
Expand All @@ -1414,7 +1413,6 @@ class SyncedRealmTests {
errorHandler = { _, error ->
fail(error.toString())
},
schema = FLEXIBLE_SYNC_SCHEMA
)

Realm.open(syncConfig1).use { flexRealm1: Realm ->
Expand Down Expand Up @@ -1457,7 +1455,6 @@ class SyncedRealmTests {
errorHandler = { _, error ->
fail(error.toString())
},
schema = FLEXIBLE_SYNC_SCHEMA,
) {
initialRealmFile("asset-fs.realm")
initialData {
Expand Down Expand Up @@ -1876,7 +1873,7 @@ class SyncedRealmTests {
block: SyncConfiguration.Builder.() -> Unit = {},
): SyncConfiguration = SyncConfiguration.Builder(
user = user,
schema = FLX_SYNC_SCHEMA
schema = FLEXIBLE_SYNC_SCHEMA
).name(name).also { builder ->
if (encryptionKey != null) builder.encryptionKey(encryptionKey)
if (errorHandler != null) builder.errorHandler(errorHandler)
Expand Down

0 comments on commit 05eca72

Please sign in to comment.