Fix broken unit test

This commit is contained in:
ariskotsomitopoulos 2022-05-31 15:07:11 +03:00 committed by Valere
parent 010cf540b6
commit df241dbdb8
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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()