Skip to content

Commit

Permalink
Fix sync client and realm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech committed Jul 8, 2024
1 parent fb796f0 commit fb2f6fe
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 170 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import io.realm.kotlin.mongodb.sync.SyncConfiguration
import io.realm.kotlin.test.mongodb.TestApp
import io.realm.kotlin.test.mongodb.asTestApp
import io.realm.kotlin.test.mongodb.createUserAndLogIn
import io.realm.kotlin.test.mongodb.util.DefaultPartitionBasedAppInitializer
import io.realm.kotlin.test.mongodb.util.DefaultFlexibleSyncAppInitializer
import io.realm.kotlin.test.util.TestHelper
import io.realm.kotlin.test.util.use
import kotlin.test.AfterTest
Expand All @@ -29,7 +29,7 @@ class SyncClientTests {

@BeforeTest
fun setup() {
app = TestApp(this::class.simpleName, DefaultPartitionBasedAppInitializer)
app = TestApp(this::class.simpleName, DefaultFlexibleSyncAppInitializer)
val (email, password) = TestHelper.randomEmail() to "password1234"
user = runBlocking {
app.createUserAndLogIn(email, password)
Expand Down
Loading

0 comments on commit fb2f6fe

Please sign in to comment.