-
Notifications
You must be signed in to change notification settings - Fork 988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MLB:1856: changed copy on backingfragment whe plot selected #2181
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #2181 +/- ##
=========================================
Coverage 68.65% 68.66%
- Complexity 2167 2168 +1
=========================================
Files 348 348
Lines 23179 23186 +7
Branches 3390 3391 +1
=========================================
+ Hits 15914 15920 +6
Misses 5453 5453
- Partials 1812 1813 +1 ☔ View full report in Codecov by Sentry. |
@@ -534,13 +562,22 @@ interface BackingFragmentViewModel { | |||
Backing.STATUS_COLLECTED -> R.string.We_collected_your_pledge_for_this_project | |||
Backing.STATUS_DROPPED -> R.string.Your_pledge_was_dropped_because_of_payment_errors | |||
Backing.STATUS_ERRORED -> R.string.We_cant_process_your_pledge_Please_update_your_payment_method | |||
Backing.STATUS_PLEDGED -> R.string.If_your_project_reaches_its_funding_goal_the_backer_will_be_charged_total_on_project_deadline | |||
Backing.STATUS_PLEDGED -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jlplks add tests for the new string, take a look here to see an example -> @Test fun testFixPaymentMethodButtonIsGone_whenBackingIsErrored()
at BackingFragmentViewModelTest.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added the test
📲 What
changed copy on backingfragment whe plot selected
🤔 Why
Because copy should be different when plot is selected
🛠 How
adding validation with feature flag and project.isPledOverTimeAllowed