fix(tests): add missing iOS 14/15 snapshots for BackendGetWorkflowsListTests#6861
Merged
Conversation
…stTests PR #6853 added getWorkflows list tests with snapshots for iOS 16-18, 26, macOS, tvOS, and watchOS, but omitted iOS 14 and iOS 15. The run-test-ios-15-and-14 CI job fails because swift-snapshot-testing finds no reference files for the 6 new testGetWorkflows* tests on those platforms. iOS 14/15 use StoreKit 1 (X-StoreKit-Version: 1, X-StoreKit2-Enabled: false), matching the pattern of existing iOS14/15 snapshots in this suite.
Member
Author
|
@RCGitBot please test |
This was referenced Jun 3, 2026
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.
Summary
PR #6853 added snapshot tests and reference snapshots for iOS 16 and up, missing the iOS 14 / 15 ones. Causing CI to fail on these iOS versions.
Note
Low Risk
Test-only snapshot additions with no runtime or networking behavior changes.
Overview
Adds 12 reference snapshot files under
Tests/UnitTests/Networking/Backend/__Snapshots__/BackendGetWorkflowsTests/soBackendGetWorkflowsListTests(six cases × iOS 14 and iOS 15) can pass on the iOS 14/15 CI job.Snapshots record the expected GET to
https://api.revenuecat.com/v1/subscribers/user/workflows(and?type=paywallfor the type-filter test), with standard RevenueCat client headers including StoreKit 1 (X-StoreKit-Version: 1,X-StoreKit2-Enabled: false). No production or test Swift code is modified.Reviewed by Cursor Bugbot for commit c054ceb. Bugbot is set up for automated code reviews on this repo. Configure here.