Skip to content

Commit

Permalink
Fix broken unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ariskotsomitopoulos committed May 31, 2022
1 parent c0cd449 commit 0340719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import java.util.concurrent.TimeUnit
* This class exposes methods to be used in common cases
* Registration, login, Sync, Sending messages...
*/
class CommonTestHelper private constructor(context: Context) {
class CommonTestHelper internal constructor(context: Context) {

companion object {
internal fun runSessionTest(context: Context, autoSignoutOnClose: Boolean = true, block: (CommonTestHelper) -> Unit) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class E2eeShareKeysHistoryTest : InstrumentedTest {
eventType = EventType.STATE_ROOM_HISTORY_VISIBILITY,
stateKey = "",
body = RoomHistoryVisibilityContent(
_historyVisibility = nextRoomHistoryVisibility._historyVisibility
historyVisibilityStr = nextRoomHistoryVisibility.historyVisibilityStr
).toContent()
)
it.countDown()
Expand Down

0 comments on commit 0340719

Please sign in to comment.