Merge pull request #72 from fknives/core-again-fixes
Fixing missing code snippet and wrong DisplayName
This commit is contained in:
commit
8659488b6a
3 changed files with 19 additions and 6 deletions
|
|
@ -249,6 +249,18 @@ fun networkInputError(authScenario: AuthScenario) = runTest {
|
|||
Assertions.assertEquals(null, fakeUserDataLocalStorage.session)
|
||||
verifyZeroInteractions(mockSessionExpirationListener)
|
||||
}
|
||||
|
||||
//...
|
||||
companion object {
|
||||
//...
|
||||
@JvmStatic
|
||||
fun networkErrorArguments() = Stream.of(
|
||||
Arguments.of(AuthScenario.GenericError(username = "a", password = "b")),
|
||||
Arguments.of(AuthScenario.UnexpectedJsonAsSuccessResponse(username = "a", password = "b")),
|
||||
Arguments.of(AuthScenario.MalformedJsonAsSuccessResponse(username = "a", password = "b")),
|
||||
Arguments.of(AuthScenario.MissingFieldJson(username = "a", password = "b"))
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
### 5. `loginInvalidCredentials`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue