Fix test clicking on enter recovery key calls the expected callback
This commit is contained in:
parent
9ecbbf3955
commit
1ea9d41d27
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue