Skip to content

Split PurchasesTests step 2: extracted PurchasesConfiguringTests and PurchasesGetCustomerInfoTests#1610

Merged
NachoSoto merged 1 commit into
mainfrom
split-purchases-tests-2
May 31, 2022
Merged

Split PurchasesTests step 2: extracted PurchasesConfiguringTests and PurchasesGetCustomerInfoTests#1610
NachoSoto merged 1 commit into
mainfrom
split-purchases-tests-2

Conversation

@NachoSoto

Copy link
Copy Markdown
Contributor

Follow up to #1609.

@NachoSoto NachoSoto requested a review from a team May 25, 2022 16:14
Comment thread Tests/UnitTests/Purchasing/Purchases/PurchasesGetCustomerInfoTests.swift Outdated
@NachoSoto NachoSoto force-pushed the split-purchases-tests-1 branch from 4ebf11a to 9f3265a Compare May 25, 2022 17:42
@NachoSoto NachoSoto force-pushed the split-purchases-tests-2 branch from 1f71b94 to ad5fc4d Compare May 25, 2022 18:13

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This property made it so that this method wouldn't invoke the callback, which made the tests not actually do anything.
Instead, I've updated the tests to ensure that when the callback is called, the data is correct.

@NachoSoto NachoSoto force-pushed the split-purchases-tests-2 branch 2 times, most recently from 11bb42d to 4890bf9 Compare May 26, 2022 00:01
@NachoSoto NachoSoto force-pushed the split-purchases-tests-1 branch from 9f3265a to d32fbe9 Compare May 31, 2022 17:14
Base automatically changed from split-purchases-tests-1 to main May 31, 2022 17:17
…and `PurchasesGetCustomerInfoTests`

Follow up to #1609.
@NachoSoto NachoSoto force-pushed the split-purchases-tests-2 branch from 4890bf9 to f7891e8 Compare May 31, 2022 17:18
@NachoSoto NachoSoto merged commit 72c39dc into main May 31, 2022
@NachoSoto NachoSoto deleted the split-purchases-tests-2 branch May 31, 2022 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants