Fix test regression on API 33.

This commit is contained in:
Benoit Marty 2025-06-30 16:35:26 +02:00 committed by Benoit Marty
parent 2234cab0c7
commit aeb750439c
2 changed files with 10 additions and 0 deletions

View file

@ -32,6 +32,7 @@ import org.junit.Rule
import org.junit.Test
import org.junit.rules.TestRule
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
@RunWith(AndroidJUnit4::class)
class MediaViewerViewTest {
@ -108,6 +109,7 @@ class MediaViewerViewTest {
}
@Test
@Config(qualifiers = "h1024dp")
fun `clicking on save emit expected Event`() {
val data = aMediaViewerPageData()
testBottomSheetAction(
@ -118,6 +120,7 @@ class MediaViewerViewTest {
}
@Test
@Config(qualifiers = "h1024dp")
fun `clicking on share emit expected Event`() {
val data = aMediaViewerPageData()
testBottomSheetAction(