Fix test regression on API 33.

This commit is contained in:
Benoit Marty 2025-06-30 16:08:50 +02:00 committed by Benoit Marty
parent 71ff72750c
commit 4de44b702e
2 changed files with 4 additions and 1 deletions

View file

@ -93,7 +93,7 @@ class SecurityAndPrivacyViewTest {
}
@Test
@Config(qualifiers = "h640dp")
@Config(qualifiers = "h1024dp")
fun `click on room visibility item emits the expected event`() {
val recorder = EventsRecorder<SecurityAndPrivacyEvents>()
val state = aSecurityAndPrivacyState(

View file

@ -31,6 +31,7 @@ class MediaDetailsBottomSheetTest {
val rule = createAndroidComposeRule<ComponentActivity>()
@Test
@Config(qualifiers = "h1024dp")
fun `clicking on View in timeline invokes expected callback`() {
val state = aMediaDetailsBottomSheetState()
ensureCalledOnceWithParam(state.eventId) { callback ->
@ -43,6 +44,7 @@ class MediaDetailsBottomSheetTest {
}
@Test
@Config(qualifiers = "h1024dp")
fun `clicking on Share invokes expected callback`() {
val state = aMediaDetailsBottomSheetState()
ensureCalledOnceWithParam(state.eventId) { callback ->
@ -55,6 +57,7 @@ class MediaDetailsBottomSheetTest {
}
@Test
@Config(qualifiers = "h1024dp")
fun `clicking on Save invokes expected callback`() {
val state = aMediaDetailsBottomSheetState()
ensureCalledOnceWithParam(state.eventId) { callback ->