Integration Tests: avoid crashes when printing receipt#2570
Merged
Conversation
Fixes https://app.circleci.com/pipelines/github/RevenueCat/purchases-ios/11501/workflows/b978f26f-ce2d-4040-ac40-96e121c4407f/jobs/72997/steps Same as #2532, this prevents test crashes when this function is called after `Purchases` has been reset. Test crashes are inconvenient because it makes the entire test run fail, instead of allowing retries.
33de943 to
3c29411
Compare
Codecov Report
@@ Coverage Diff @@
## main #2570 +/- ##
==========================================
+ Coverage 88.02% 88.04% +0.01%
==========================================
Files 201 201
Lines 13997 13997
==========================================
+ Hits 12321 12323 +2
+ Misses 1676 1674 -2 |
tonidero
approved these changes
Jun 1, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes https://app.circleci.com/pipelines/github/RevenueCat/purchases-ios/11501/workflows/b978f26f-ce2d-4040-ac40-96e121c4407f/jobs/72997/steps
Same as #2532, this prevents test crashes when this function is called after
Purchaseshas been reset.Test crashes are inconvenient because it makes the entire test run fail, instead of allowing retries.