Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishwajith-Shettigar committed Jul 24, 2024
1 parent 65f44ed commit 285e602
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ class QuestionPlayerActivityTest {
activity.questionPlayerActivityPresenter
.loadFragments(ReadingTextSize.EXTRA_LARGE_TEXT_SIZE)
}
testCoroutineDispatchers.runCurrent()
verifyFontSizeMatches(67F)
}
}
Expand All @@ -580,6 +581,7 @@ class QuestionPlayerActivityTest {
activity.questionPlayerActivityPresenter
.loadFragments(ReadingTextSize.LARGE_TEXT_SIZE)
}
testCoroutineDispatchers.runCurrent()
verifyFontSizeMatches(58F)
}
}
Expand All @@ -592,6 +594,7 @@ class QuestionPlayerActivityTest {
activity.questionPlayerActivityPresenter
.loadFragments(ReadingTextSize.MEDIUM_TEXT_SIZE)
}
testCoroutineDispatchers.runCurrent()
verifyFontSizeMatches(48F)
}
}
Expand All @@ -604,6 +607,7 @@ class QuestionPlayerActivityTest {
activity.questionPlayerActivityPresenter
.loadFragments(ReadingTextSize.SMALL_TEXT_SIZE)
}
testCoroutineDispatchers.runCurrent()
verifyFontSizeMatches(38F)
}
}
Expand Down

0 comments on commit 285e602

Please sign in to comment.