Skip to content

Commit

Permalink
Update test name
Browse files Browse the repository at this point in the history
  • Loading branch information
toluo-stripe committed Feb 8, 2025
1 parent 6497a71 commit a873f68
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import androidx.compose.material.Text
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.dp
import androidx.lifecycle.ViewModelStore
import androidx.lifecycle.ViewModelStoreOwner
Expand All @@ -34,7 +35,7 @@ internal class LinkContentScreenshotTest {

@OptIn(ExperimentalMaterialApi::class)
@Test
fun testContent() {
fun testLinkContentScreenHasOpaqueBackground() {
paparazziRule.snapshot {
val viewModelStoreOwner = object : ViewModelStoreOwner {
override val viewModelStore = ViewModelStore()
Expand All @@ -56,7 +57,8 @@ internal class LinkContentScreenshotTest {
email = null
),
sheetState = ModalBottomSheetState(
initialValue = ModalBottomSheetValue.Hidden
initialValue = ModalBottomSheetValue.Hidden,
density = Density(1f)
),
onUpdateSheetContent = {},
bottomSheetContent = null,
Expand Down

0 comments on commit a873f68

Please sign in to comment.