Skip to content

Commit

Permalink
login should not be necessary to update
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham1g5 committed Sep 10, 2024
1 parent 5e706c7 commit 0296cf5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/unit-tests/src/org/commcare/update/UpdateWorkerTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -114,4 +113,4 @@ class UpdateWorkerTest {
.putString(PREFS_APP_SERVER_KEY, profileRef)
.apply()
}
}
}

0 comments on commit 0296cf5

Please sign in to comment.