Skip to content

Commit e617507

Browse files
Merge branch 'main' into upstream
2 parents 54aeeb0 + bc065c8 commit e617507

File tree

11 files changed

+437
-446
lines changed

11 files changed

+437
-446
lines changed

app/src/androidTest/java/fr/free/nrw/commons/AboutActivityTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class AboutActivityTest {
105105
fun testLaunchTranslate() {
106106
Espresso.onView(ViewMatchers.withId(R.id.about_translate)).perform(ViewActions.click())
107107
Espresso.onView(ViewMatchers.withId(android.R.id.button1)).perform(ViewActions.click())
108-
val langCode = CommonsApplication.getInstance().languageLookUpTable.codes[0]
108+
val langCode = CommonsApplication.instance.languageLookUpTable!!.codes[0]
109109
Intents.intended(
110110
CoreMatchers.allOf(
111111
IntentMatchers.hasAction(Intent.ACTION_VIEW),

0 commit comments

Comments
 (0)