-
Notifications
You must be signed in to change notification settings - Fork 316
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
Added Integration Test for upgrading subscription with a different entitlement #1738
Conversation
cc @joshdholtz |
9d5ec76
to
715dca2
Compare
.customerInfo | ||
.entitlements | ||
|
||
expect(entitlements.active).to(haveCount(1)) |
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.
This fails with 2
.entitlements | ||
|
||
expect(entitlements.active).to(haveCount(1)) | ||
expect(entitlements[Self.entitlementIdentifier]?.isActive).to( |
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.
This is still active.
Looks like this is fixed: https://github.com/RevenueCat/khepri/pull/4165 |
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.
Looks good to me, but I'd wait for @joshdholtz to also take a look before merging
Supposedly the fix was deployed but this test is still failing :/ @joshdholtz any ideas? The original entitlement is still being received as active. |
@NachoSoto Yeeaaaahhh, I re-ran it this morning and I saw that. Do these tests use the StoreKit Config file type of environment? Or are these like actual actual sandbox tests? My tests on simulator and actual device didn't work but its having issues validating the receipt so I need to figure out what's going on there first 🙄 |
They do use a |
Are you using the correct API key? |
715dca2
to
2a12817
Compare
I think this is the same as #1718. |
19c8b6f
to
c61d815
Compare
Filed TRIAGE-124 to look into this. |
c61d815
to
48af962
Compare
Just rebased this to see if #1965 could have fixed this, but alas no. |
48af962
to
31be5b7
Compare
31be5b7
to
a912a85
Compare
a912a85
to
7e9d271
Compare
7e9d271
to
b3e23fc
Compare
b3e23fc
to
b2859d2
Compare
…titlement See [CF-788].
b2859d2
to
5a65d53
Compare
@joshdholtz should we close this? It seems like this changed behavior isn't reflected in tests, not sure how much we care about this edge case. |
See CF-788.
Fixed by https://github.com/RevenueCat/khepri/pull/4165.
Blocked by TRIAGE-124.