Fixing missing code snippet and wrong DisplayName
This commit is contained in:
parent
8866ac8477
commit
3ec4d8147b
3 changed files with 15 additions and 2 deletions
|
|
@ -130,7 +130,7 @@ class AuthIntegrationTest : KoinTest {
|
|||
verifyZeroInteractions(mockSessionExpirationListener)
|
||||
}
|
||||
|
||||
@DisplayName("GIVEN no session WHEN user is logging in THEN they get session")
|
||||
@DisplayName("GIVEN invalid credentials response WHEN user is logging in THEN they get proper error")
|
||||
@Test
|
||||
fun loginInvalidCredentials() = runTest {
|
||||
mockServerScenarioSetup.setScenario(AuthScenario.InvalidCredentials(username = "usr", password = "sEc"), validateArguments = true)
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ class CodeKataAuthIntegrationTest : KoinTest {
|
|||
fun networkInputError(authScenario: AuthScenario) = runTest {
|
||||
}
|
||||
|
||||
@DisplayName("GIVEN no session WHEN user is logging in THEN they get session")
|
||||
@DisplayName("GIVEN invalid credentials response WHEN user is logging in THEN they get proper error")
|
||||
@Test
|
||||
fun loginInvalidCredentials() = runTest {
|
||||
}
|
||||
|
|
@ -94,6 +94,7 @@ class CodeKataAuthIntegrationTest : KoinTest {
|
|||
@Test
|
||||
fun logout() = runTest {
|
||||
}
|
||||
|
||||
@DisplayName("GIVEN logged in user WHEN user is login out THEN content is cleared")
|
||||
@Test
|
||||
fun logoutReleasesContent() = runTest {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue