Skip to content

Commit

Permalink
migration fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robalim authored and enotniy committed May 15, 2024
1 parent 33f816c commit dfd6132
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ internal class MigrationManager(val context: Context) {
gson.toJson(newShownInApps, object : TypeToken<HashMap<String, Long>>() {}.type)
}
MindboxPreferences.shownInApps = newMapString
MindboxPreferences.shownInAppIds = ""
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ class MigrationManagerTest {
verify(exactly = 1) {
MindboxPreferences.shownInApps = expectedNewMapString
}
verify(exactly = 1) {
MindboxPreferences.shownInAppIds = ""
}
}

}

0 comments on commit dfd6132

Please sign in to comment.