mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix test clicking on enter recovery key calls the expected callback
This commit is contained in:
committed by
Benoit Marty
parent
57900eadbf
commit
1c4e02797b
+2
@@ -29,6 +29,7 @@ import io.element.android.tests.testutils.pressBackKey
|
|||||||
import org.junit.Rule
|
import org.junit.Rule
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
import org.junit.runner.RunWith
|
import org.junit.runner.RunWith
|
||||||
|
import org.robolectric.annotation.Config
|
||||||
|
|
||||||
@RunWith(AndroidJUnit4::class)
|
@RunWith(AndroidJUnit4::class)
|
||||||
class VerifySelfSessionViewTest {
|
class VerifySelfSessionViewTest {
|
||||||
@@ -89,6 +90,7 @@ class VerifySelfSessionViewTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Config(qualifiers = "h1024dp")
|
||||||
@Test
|
@Test
|
||||||
fun `clicking on enter recovery key calls the expected callback`() {
|
fun `clicking on enter recovery key calls the expected callback`() {
|
||||||
val eventsRecorder = EventsRecorder<VerifySelfSessionViewEvents>(expectEvents = false)
|
val eventsRecorder = EventsRecorder<VerifySelfSessionViewEvents>(expectEvents = false)
|
||||||
|
|||||||
Reference in New Issue
Block a user