Skip to content

Commit

Permalink
Fix oppia#1587 : Resolve test cases error. Made intent keys consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Pascal committed Aug 27, 2020
1 parent 7206d49 commit ad6738d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ class HintsAndSolutionDialogFragment :
companion object {

internal const val ID_ARGUMENT_KEY = "ID"
internal const val NEW_AVAILABLE_HINT_INDEX_ARGUMENT_KEY = "NEW_AVAILABLE_HINT_INDEX"
internal const val ALL_HINTS_EXHAUSTED_ARGUMENT_KEY = "ALL_HINTS_EXHAUSTED"
internal const val NEW_AVAILABLE_HINT_INDEX_ARGUMENT_KEY =
"HintsAndSolutionDialogFragment.new_available_hint_index"
internal const val ALL_HINTS_EXHAUSTED_ARGUMENT_KEY =
"HintsAndSolutionDialogFragment.all_hints_exhausted"

/**
* Creates a new instance of a DialogFragment to display hints and solution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TestFontScaleConfigurationUtilActivity : InjectableAppCompatActivity() {
}

companion object {
private const val FONT_SCALE_EXTRA_KEY =
private const val FONT_SCALE_EXTRA_KEY =
"TestFontScaleConfigurationUtilActivity.font_scale"

/** Returns a new [TestFontScaleConfigurationUtilActivity] for context and reading text size. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ class RevisionCardActivity : InjectableAppCompatActivity(), ReturnToTopicClickLi
companion object {
internal const val INTERNAL_PROFILE_ID_EXTRA_KEY =
"RevisionCardActivity.internal_profile_id"
internal const val TOPIC_ID_EXTRA_KEY =
internal const val TOPIC_ID_EXTRA_KEY =
"RevisionCardActivity.topic_id"
internal const val SUBTOPIC_ID_EXTRA_KEY =
internal const val SUBTOPIC_ID_EXTRA_KEY =
"RevisionCardActivity.subtopic_id"

/** Returns a new [Intent] to route to [RevisionCardActivity]. */
Expand Down

0 comments on commit ad6738d

Please sign in to comment.