Skip to content

Commit

Permalink
style: format using ktfmt for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
charliemangano committed Oct 28, 2024
1 parent 1af8eb5 commit 32c0eea
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class SignInScreenTest {

`when`(navigationActions.currentRoute()).thenReturn(Route.ALERT_LIST)
`when`(authViewModel.userAuthState)
.thenReturn(mutableStateOf(UserAuthState.Success("User is logged in")))
.thenReturn(mutableStateOf(UserAuthState.Success("User is logged in")))
composeTestRule.setContent { SignInScreen(authViewModel, navigationActions) }
}

Expand Down Expand Up @@ -86,8 +86,8 @@ class SignInScreenTest {
composeTestRule.onNodeWithTag("signInButton").performClick()
composeTestRule.onNodeWithTag("signInPasswordError").assertIsDisplayed()
composeTestRule
.onNodeWithTag("signInPasswordError")
.assertTextEquals("Password cannot be empty")
.onNodeWithTag("signInPasswordError")
.assertTextEquals("Password cannot be empty")
}

@Test
Expand All @@ -97,8 +97,8 @@ class SignInScreenTest {
composeTestRule.onNodeWithTag("signInButton").performClick()
composeTestRule.onNodeWithTag("signInPasswordError").assertIsDisplayed()
composeTestRule
.onNodeWithTag("signInPasswordError")
.assertTextEquals("Password cannot be empty")
.onNodeWithTag("signInPasswordError")
.assertTextEquals("Password cannot be empty")
}

@Test
Expand Down

0 comments on commit 32c0eea

Please sign in to comment.