From 2a06e6e7a7b342f70d47169a323eb7163fb56b73 Mon Sep 17 00:00:00 2001 From: Clemente Date: Mon, 15 Jul 2024 00:01:12 +0200 Subject: [PATCH] Update test case names --- .../test/mongodb/common/SyncSchemaMigrationTests.kt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncSchemaMigrationTests.kt b/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncSchemaMigrationTests.kt index 472f489e64..abfe46fb1e 100644 --- a/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncSchemaMigrationTests.kt +++ b/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncSchemaMigrationTests.kt @@ -55,11 +55,6 @@ import kotlin.test.assertTrue import kotlin.time.Duration import kotlin.time.Duration.Companion.seconds -/** - * Tests for [io.realm.kotlin.mongodb.sync.Sync] that is accessed through - * [io.realm.kotlin.mongodb.App.sync]. - */ - @PersistedName("Dog") class DogV0 : RealmObject { @PrimaryKey @@ -317,7 +312,7 @@ class SyncSchemaMigrationTests { // fails with future schema version @Test - fun failsWithFutureSchemaVersionFirstOpen() { + fun failsWithNonExistingSchemaVersionFirstOpen() { assertFailsWithMessage("Client provided invalid schema version") { createSyncConfig( dogSchema = DogV2::class, @@ -332,7 +327,7 @@ class SyncSchemaMigrationTests { } @Test - fun failsWithFutureSchemaVersion() { + fun failsWithNonExistingSchemaVersion() { createSyncConfig( dogSchema = DogV0::class, version = 0,