diff --git a/packages/test-base/src/commonTest/kotlin/io/realm/kotlin/test/common/migration/RealmMigrationTests.kt b/packages/test-base/src/commonTest/kotlin/io/realm/kotlin/test/common/migration/RealmMigrationTests.kt index 58f30b5983..af0626fc2e 100644 --- a/packages/test-base/src/commonTest/kotlin/io/realm/kotlin/test/common/migration/RealmMigrationTests.kt +++ b/packages/test-base/src/commonTest/kotlin/io/realm/kotlin/test/common/migration/RealmMigrationTests.kt @@ -168,8 +168,8 @@ class RealmMigrationTests { // FIXME Can we get this to have the DataMigrationContext as receiver migration = { it.enumerate("Sample") { oldObject: DynamicRealmObject, newObject: DynamicMutableRealmObject? -> - assertEquals(initialValue, oldObject.get("stringField")) - assertEquals(initialValue, newObject?.get("stringField")) + assertEquals(initialValue, oldObject.get("stringField")) + assertEquals(initialValue, newObject?.get("stringField")) newObject?.set("stringField", migratedValue) } }