Fix broken unit test
This commit is contained in:
parent
010cf540b6
commit
df241dbdb8
|
@ -54,7 +54,7 @@ import java.util.concurrent.TimeUnit
|
||||||
* This class exposes methods to be used in common cases
|
* This class exposes methods to be used in common cases
|
||||||
* Registration, login, Sync, Sending messages...
|
* Registration, login, Sync, Sending messages...
|
||||||
*/
|
*/
|
||||||
class CommonTestHelper private constructor(context: Context) {
|
class CommonTestHelper internal constructor(context: Context) {
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
internal fun runSessionTest(context: Context, autoSignoutOnClose: Boolean = true, block: (CommonTestHelper) -> Unit) {
|
internal fun runSessionTest(context: Context, autoSignoutOnClose: Boolean = true, block: (CommonTestHelper) -> Unit) {
|
||||||
|
|
|
@ -305,7 +305,7 @@ class E2eeShareKeysHistoryTest : InstrumentedTest {
|
||||||
eventType = EventType.STATE_ROOM_HISTORY_VISIBILITY,
|
eventType = EventType.STATE_ROOM_HISTORY_VISIBILITY,
|
||||||
stateKey = "",
|
stateKey = "",
|
||||||
body = RoomHistoryVisibilityContent(
|
body = RoomHistoryVisibilityContent(
|
||||||
_historyVisibility = nextRoomHistoryVisibility._historyVisibility
|
historyVisibilityStr = nextRoomHistoryVisibility.historyVisibilityStr
|
||||||
).toContent()
|
).toContent()
|
||||||
)
|
)
|
||||||
it.countDown()
|
it.countDown()
|
||||||
|
|
Loading…
Reference in New Issue