Sets theme in FenixRobolectricTestApplication onCreate

upstream-sync
ekager 4 years ago committed by Michael Comella
parent 3a6f74031c
commit 2c7789b1a8

@ -5,6 +5,7 @@
package org.mozilla.fenix.helpers
import org.mozilla.fenix.FenixApplication
import org.mozilla.fenix.R
import org.mozilla.fenix.components.TestComponents
/**
@ -14,6 +15,11 @@ import org.mozilla.fenix.components.TestComponents
*/
class FenixRobolectricTestApplication : FenixApplication() {
override fun onCreate() {
super.onCreate()
setTheme(R.style.NormalTheme)
}
override val components = TestComponents(this)
override fun initializeGlean() = Unit

Loading…
Cancel
Save