mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
Fix test
This commit is contained in:
parent
9f26d015ba
commit
1e3bdd6a2e
2 changed files with 4 additions and 2 deletions
|
@ -38,6 +38,7 @@ import im.vector.app.features.MainActivity
|
||||||
import im.vector.app.features.crypto.quads.SharedSecureStorageActivity
|
import im.vector.app.features.crypto.quads.SharedSecureStorageActivity
|
||||||
import im.vector.app.features.crypto.recover.BootstrapCrossSigningTask
|
import im.vector.app.features.crypto.recover.BootstrapCrossSigningTask
|
||||||
import im.vector.app.features.crypto.recover.Params
|
import im.vector.app.features.crypto.recover.Params
|
||||||
|
import im.vector.app.features.crypto.recover.SetupMode
|
||||||
import im.vector.app.features.home.HomeActivity
|
import im.vector.app.features.home.HomeActivity
|
||||||
import kotlinx.coroutines.runBlocking
|
import kotlinx.coroutines.runBlocking
|
||||||
import org.junit.Before
|
import org.junit.Before
|
||||||
|
@ -77,7 +78,8 @@ class VerifySessionPassphraseTest : VerificationTestBase() {
|
||||||
runBlocking {
|
runBlocking {
|
||||||
task.execute(Params(
|
task.execute(Params(
|
||||||
userPasswordAuth = UserPasswordAuth(password = password),
|
userPasswordAuth = UserPasswordAuth(password = password),
|
||||||
passphrase = passphrase
|
passphrase = passphrase,
|
||||||
|
setupMode = SetupMode.NORMAL
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="16dp"
|
||||||
android:drawableLeft="@drawable/ic_smartphone"
|
android:drawableStart="@drawable/ic_smartphone"
|
||||||
android:drawablePadding="8dp"
|
android:drawablePadding="8dp"
|
||||||
app:layout_constraintTop_toBottomOf="@id/ssss_reset_all_description"
|
app:layout_constraintTop_toBottomOf="@id/ssss_reset_all_description"
|
||||||
tools:text="Show 2 devices you can verify with now" />
|
tools:text="Show 2 devices you can verify with now" />
|
||||||
|
|
Loading…
Reference in a new issue