Files
purchases-ios/Sources/Purchasing/StoreKitAbstractions/Test Data
Rick 9ebd514f15 Format test store price strings with same currency code and locale as localizedPriceString (#5784)
* Passing price currencyCode to the TestStore product to use when formatting a price string

* Use the same locale for formatting localizedPriceString as well as other price strings for Test Store product

* Fixed test compilation + ensuring backwards compatibility in TestStoreProduct initializer

* Added unit tests

* Fixed swiftlint warnings

* Deprecated old TestProduct initializer and updated all tests to pass currencyCode and locale for proper price formatting

* Added API test for new initializer

* Fixed test compilation + updated remaining uses of TestStoreProduct

* Reusing Locale extension across packages

* Fixed import

* Fixed test imports

* Implemented PR feedback

* Updated doc + fixed test compilation

* Fixed test compilation
2025-12-15 13:31:52 +01:00
..