mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 14:25:28 +00:00
test: remove context parameter
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
This commit is contained in:
committed by
Harsh Shandilya
parent
521f4772d7
commit
1ae961e51c
@@ -86,7 +86,7 @@ class MigrationsTest {
|
|||||||
sharedPrefs,
|
sharedPrefs,
|
||||||
GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
|
GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
|
||||||
)
|
)
|
||||||
checkOldKeysAreRemoved(context)
|
checkOldKeysAreRemoved()
|
||||||
assertEquals(
|
assertEquals(
|
||||||
sharedPrefs.getString(PreferenceKeys.GIT_REMOTE_URL),
|
sharedPrefs.getString(PreferenceKeys.GIT_REMOTE_URL),
|
||||||
"msfjarvis@192.168.0.102:/mnt/disk3/pass-repo"
|
"msfjarvis@192.168.0.102:/mnt/disk3/pass-repo"
|
||||||
@@ -108,7 +108,7 @@ class MigrationsTest {
|
|||||||
sharedPrefs,
|
sharedPrefs,
|
||||||
GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
|
GitSettings(sharedPrefs, encryptedSharedPreferences, proxySharedPreferences, filesDir)
|
||||||
)
|
)
|
||||||
checkOldKeysAreRemoved(context)
|
checkOldKeysAreRemoved()
|
||||||
assertEquals(
|
assertEquals(
|
||||||
sharedPrefs.getString(PreferenceKeys.GIT_REMOTE_URL),
|
sharedPrefs.getString(PreferenceKeys.GIT_REMOTE_URL),
|
||||||
"https://github.com/Android-Password-Store/pass-test"
|
"https://github.com/Android-Password-Store/pass-test"
|
||||||
|
Reference in New Issue
Block a user