summaryrefslogtreecommitdiff
path: root/app/src/test
diff options
context:
space:
mode:
authorAditya Wasan <adityawasan55@gmail.com>2021-05-22 18:05:53 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-05-22 20:05:54 +0530
commit1ae961e51c3c6ac37126ede89fd1dccce9f2e0a2 (patch)
tree49038439cb9e3ace86e3b6b836eb81efc29359ad /app/src/test
parent521f4772d797ca424dcb076359382d7a336b8de7 (diff)
test: remove context parameter
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
Diffstat (limited to 'app/src/test')
-rw-r--r--app/src/test/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/test/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt b/app/src/test/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt
index 71f457ec..98b021b5 100644
--- a/app/src/test/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt
+++ b/app/src/test/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt
@@ -86,7 +86,7 @@ class MigrationsTest {
sharedPrefs,
GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
)
- checkOldKeysAreRemoved(context)
+ checkOldKeysAreRemoved()
assertEquals(
sharedPrefs.getString(PreferenceKeys.GIT_REMOTE_URL),
"msfjarvis@192.168.0.102:/mnt/disk3/pass-repo"
@@ -108,7 +108,7 @@ class MigrationsTest {
sharedPrefs,
GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
)
- checkOldKeysAreRemoved(context)
+ checkOldKeysAreRemoved()
assertEquals(
sharedPrefs.getString(PreferenceKeys.GIT_REMOTE_URL),
"https://github.com/Android-Password-Store/pass-test"