mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Cleanup
This commit is contained in:
+2
-2
@@ -21,7 +21,7 @@ class AppMigration05Test {
|
||||
val sessionStore = InMemorySessionStore().apply {
|
||||
updateData(
|
||||
aSessionData(
|
||||
sessionId = A_SESSION_ID,
|
||||
sessionId = A_SESSION_ID.value,
|
||||
sessionPath = "",
|
||||
)
|
||||
)
|
||||
@@ -37,7 +37,7 @@ class AppMigration05Test {
|
||||
val sessionStore = InMemorySessionStore().apply {
|
||||
updateData(
|
||||
aSessionData(
|
||||
sessionId = A_SESSION_ID,
|
||||
sessionId = A_SESSION_ID.value,
|
||||
sessionPath = "/a/path/existing",
|
||||
)
|
||||
)
|
||||
|
||||
+2
-2
@@ -21,7 +21,7 @@ class AppMigration06Test {
|
||||
val sessionStore = InMemorySessionStore().apply {
|
||||
updateData(
|
||||
aSessionData(
|
||||
sessionId = A_SESSION_ID,
|
||||
sessionId = A_SESSION_ID.value,
|
||||
sessionPath = "/a/path/to/a/session/AN_ID",
|
||||
cachePath = "",
|
||||
)
|
||||
@@ -38,7 +38,7 @@ class AppMigration06Test {
|
||||
val sessionStore = InMemorySessionStore().apply {
|
||||
updateData(
|
||||
aSessionData(
|
||||
sessionId = A_SESSION_ID,
|
||||
sessionId = A_SESSION_ID.value,
|
||||
cachePath = "/a/path/existing",
|
||||
)
|
||||
)
|
||||
|
||||
@@ -37,5 +37,6 @@ dependencies {
|
||||
testImplementation(libs.test.turbine)
|
||||
testImplementation(projects.libraries.matrix.test)
|
||||
testImplementation(projects.libraries.sessionStorage.implMemory)
|
||||
testImplementation(projects.libraries.sessionStorage.test)
|
||||
testImplementation(projects.tests.testutils)
|
||||
}
|
||||
|
||||
+1
@@ -16,6 +16,7 @@ import io.element.android.libraries.matrix.test.A_SESSION_ID
|
||||
import io.element.android.libraries.matrix.test.core.aBuildMeta
|
||||
import io.element.android.libraries.sessionstorage.api.SessionStore
|
||||
import io.element.android.libraries.sessionstorage.impl.memory.InMemorySessionStore
|
||||
import io.element.android.libraries.sessionstorage.test.aSessionData
|
||||
import io.element.android.tests.testutils.WarmUpRule
|
||||
import kotlinx.coroutines.test.runTest
|
||||
import org.junit.Rule
|
||||
|
||||
Reference in New Issue
Block a user