Skip to content

Commit

Permalink
Applied fix for #529 [1] to re-enabled tests
Browse files Browse the repository at this point in the history
See: b3449f0
Also See: c13b12f

*This commit is related to issue #529 [1]*

[1] #529
  • Loading branch information
JaniruTEC committed Apr 21, 2024
1 parent abf19e2 commit 0e63cad
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import androidx.test.platform.app.InstrumentationRegistry
import com.google.common.base.Optional
import org.cryptomator.data.db.CryptomatorAssert.assertCursorEquals
import org.cryptomator.data.db.CryptomatorAssert.assertIsUUID
import org.cryptomator.data.db.SQLiteCacheControl.asCacheControlled
import org.cryptomator.data.db.migrations.Sql
import org.cryptomator.data.db.migrations.legacy.Upgrade10To11
import org.cryptomator.data.db.migrations.legacy.Upgrade11To12
Expand Down Expand Up @@ -93,7 +94,7 @@ class UpgradeDatabaseTest {
assertEquals(1, oldVersion)
assertEquals(LATEST_LEGACY_MIGRATION, newVersion)
}
}).let { FrameworkSQLiteOpenHelperFactory().create(it).writableDatabase }
}).let { FrameworkSQLiteOpenHelperFactory().asCacheControlled().create(it).writableDatabase }
}

@After
Expand Down

0 comments on commit 0e63cad

Please sign in to comment.