File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
features/space/impl/src/test/kotlin/io/element/android/features/space/impl/root Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ import org.junit.Rule
3131import org.junit.Test
3232import org.junit.rules.TestRule
3333import org.junit.runner.RunWith
34+ import org.robolectric.annotation.Config
3435
3536@RunWith(AndroidJUnit4 ::class )
3637class 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 )
You can’t perform that action at this time.
0 commit comments