Add missing test for AppMigration05
This commit is contained in:
parent
54dc8e7c54
commit
56fd455d44
3 changed files with 62 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ import io.element.android.libraries.sessionstorage.api.SessionData
|
|||
fun aSessionData(
|
||||
sessionId: SessionId = SessionId("@alice:server.org"),
|
||||
isTokenValid: Boolean = false,
|
||||
sessionPath: String = "/a/path/to/a/session",
|
||||
): SessionData {
|
||||
return SessionData(
|
||||
userId = sessionId.value,
|
||||
|
|
@ -36,7 +37,7 @@ fun aSessionData(
|
|||
isTokenValid = isTokenValid,
|
||||
loginType = LoginType.UNKNOWN,
|
||||
passphrase = null,
|
||||
sessionPath = "/a/path/to/a/session",
|
||||
sessionPath = sessionPath,
|
||||
cachePath = "/a/path/to/a/cache",
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue