From 1ae961e51c3c6ac37126ede89fd1dccce9f2e0a2 Mon Sep 17 00:00:00 2001 From: Aditya Wasan Date: Sat, 22 May 2021 18:05:53 +0530 Subject: test: remove context parameter Signed-off-by: Aditya Wasan --- app/src/test/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src') 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" -- cgit v1.2.3