Skip to content

Commit e099a67

Browse files
committed
Fix tests again
1 parent d9d154b commit e099a67

File tree

1 file changed

+3
-0
lines changed
  • features/space/impl/src/test/kotlin/io/element/android/features/space/impl/root

1 file changed

+3
-0
lines changed

features/space/impl/src/test/kotlin/io/element/android/features/space/impl/root/SpaceViewTest.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import org.junit.Rule
3131
import org.junit.Test
3232
import org.junit.rules.TestRule
3333
import org.junit.runner.RunWith
34+
import org.robolectric.annotation.Config
3435

3536
@RunWith(AndroidJUnit4::class)
3637
class SpaceViewTest {
@@ -83,6 +84,7 @@ class SpaceViewTest {
8384
eventsRecorder.assertSingle(SpaceEvents.Join(aSpaceRoom))
8485
}
8586

87+
@Config(qualifiers = "h1024dp")
8688
@Test
8789
fun `clicking on accept invite emits the expected Event`() {
8890
val aSpaceRoom = aSpaceRoom(roomId = A_ROOM_ID, state = CurrentUserMembership.INVITED)
@@ -97,6 +99,7 @@ class SpaceViewTest {
9799
eventsRecorder.assertSingle(SpaceEvents.AcceptInvite(aSpaceRoom))
98100
}
99101

102+
@Config(qualifiers = "h1024dp")
100103
@Test
101104
fun `clicking on decline invite emits the expected Event`() {
102105
val aSpaceRoom = aSpaceRoom(roomId = A_ROOM_ID, state = CurrentUserMembership.INVITED)

0 commit comments

Comments
 (0)