Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
Fix MigrationTestHelper deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Feb 10, 2024
1 parent c40e3d6 commit c44d442
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class Migration2Test {
@get:Rule
val helper: MigrationTestHelper = MigrationTestHelper(
InstrumentationRegistry.getInstrumentation(),
AppDatabase::class.java.canonicalName,
AppDatabase::class.java,
specs = emptyList(),
FrameworkSQLiteOpenHelperFactory()
)

Expand Down

0 comments on commit c44d442

Please sign in to comment.