Skip to content

Commit

Permalink
Update test case names
Browse files Browse the repository at this point in the history
  • Loading branch information
clementetb committed Jul 14, 2024
1 parent 28e44c7 commit 2a06e6e
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -317,7 +312,7 @@ class SyncSchemaMigrationTests {

// fails with future schema version
@Test
fun failsWithFutureSchemaVersionFirstOpen() {
fun failsWithNonExistingSchemaVersionFirstOpen() {
assertFailsWithMessage<IllegalStateException>("Client provided invalid schema version") {
createSyncConfig(
dogSchema = DogV2::class,
Expand All @@ -332,7 +327,7 @@ class SyncSchemaMigrationTests {
}

@Test
fun failsWithFutureSchemaVersion() {
fun failsWithNonExistingSchemaVersion() {
createSyncConfig(
dogSchema = DogV0::class,
version = 0,
Expand Down

0 comments on commit 2a06e6e

Please sign in to comment.