diff --git a/collect_app/src/test/java/org/odk/collect/android/formentry/FormEndViewTest.kt b/collect_app/src/test/java/org/odk/collect/android/formentry/FormEndViewTest.kt index d6d398b2f3a..da7ae135997 100644 --- a/collect_app/src/test/java/org/odk/collect/android/formentry/FormEndViewTest.kt +++ b/collect_app/src/test/java/org/odk/collect/android/formentry/FormEndViewTest.kt @@ -18,7 +18,7 @@ import org.odk.collect.android.R class FormEndViewTest { private val context: Application = ApplicationProvider.getApplicationContext().also { - it.setTheme(R.style.Theme_Material3_Light) + it.setTheme(R.style.Theme_Collect) // Needed for ?colorSurfaceContainerHighest } private val formEndViewModel = mock() private val listener = mock()