From 0296cf5efdd3d2b4a2735f174e1ec6b62ad4d0d4 Mon Sep 17 00:00:00 2001 From: Shubham Goyal Date: Tue, 10 Sep 2024 13:46:26 +0530 Subject: [PATCH] login should not be necessary to update --- app/unit-tests/src/org/commcare/update/UpdateWorkerTest.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/unit-tests/src/org/commcare/update/UpdateWorkerTest.kt b/app/unit-tests/src/org/commcare/update/UpdateWorkerTest.kt index 9f2c89a2c6..903a4bdd8a 100644 --- a/app/unit-tests/src/org/commcare/update/UpdateWorkerTest.kt +++ b/app/unit-tests/src/org/commcare/update/UpdateWorkerTest.kt @@ -41,9 +41,8 @@ class UpdateWorkerTest { @Before fun setUp() { context = ApplicationProvider.getApplicationContext() - TestAppInstaller.installAppAndLogin( - UpdateUtils.buildResourceRef(REF_BASE_DIR, "base_app", "profile.ccpr"), - "test", "123") + TestAppInstaller.installApp( + UpdateUtils.buildResourceRef(REF_BASE_DIR, "base_app", "profile.ccpr")) } @Test @@ -114,4 +113,4 @@ class UpdateWorkerTest { .putString(PREFS_APP_SERVER_KEY, profileRef) .apply() } -} \ No newline at end of file +}