From c44d442533d599d4cbba8d765901939d6aa724b6 Mon Sep 17 00:00:00 2001 From: Sasikanth Miriyampalli Date: Sat, 10 Feb 2024 07:20:46 +0530 Subject: [PATCH] Fix `MigrationTestHelper` deprecation --- .../dev/sasikanth/pinnit/data/migrations/Migration2Test.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/androidTest/java/dev/sasikanth/pinnit/data/migrations/Migration2Test.kt b/app/src/androidTest/java/dev/sasikanth/pinnit/data/migrations/Migration2Test.kt index f05bdd1a..76b37d07 100644 --- a/app/src/androidTest/java/dev/sasikanth/pinnit/data/migrations/Migration2Test.kt +++ b/app/src/androidTest/java/dev/sasikanth/pinnit/data/migrations/Migration2Test.kt @@ -22,7 +22,8 @@ class Migration2Test { @get:Rule val helper: MigrationTestHelper = MigrationTestHelper( InstrumentationRegistry.getInstrumentation(), - AppDatabase::class.java.canonicalName, + AppDatabase::class.java, + specs = emptyList(), FrameworkSQLiteOpenHelperFactory() )