Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimolloy committed Oct 6, 2023
1 parent d9f60d4 commit 3181248
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ fun InputPhoneNumber(
},
onClick = {
onCallActionClicked.invoke()
onFocusChanged(true)
},
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class InputPhoneNumberTest {
}

@Test
fun shouldDisplaySupportTextIfInputStateIsError() {
fun shouldDisplaySupportText() {
rule.setContent {
InputPhoneNumber(
title = "Phone Number",
Expand All @@ -71,6 +71,7 @@ class InputPhoneNumberTest {
onCallActionClicked = {
// no-op
},
supportingText = listOf(SupportingTextData("Error", SupportingTextState.ERROR)),
)
}
rule.onNodeWithTag("INPUT_PHONE_NUMBER_SUPPORTING_TEXT").assertExists()
Expand Down

0 comments on commit 3181248

Please sign in to comment.