diff --git a/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS15-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS15-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json new file mode 100644 index 0000000000..89616e8578 --- /dev/null +++ b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS15-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json @@ -0,0 +1,31 @@ +{ + "headers" : { + "Authorization" : "Bearer asharedsecret", + "content-type" : "application/json", + "X-Apple-Device-Identifier" : "5D7C0074-07E4-4564-AAA4-4008D0640881", + "X-Client-Build-Version" : "12345", + "X-Client-Bundle-ID" : "com.apple.dt.xctest.tool", + "X-Client-Version" : "17.0.0", + "X-Is-Debug-Build" : "true", + "X-Is-Sandbox" : "true", + "X-Observer-Mode-Enabled" : "false", + "X-Platform" : "iOS", + "X-Platform-Device" : "arm64", + "X-Platform-Flavor" : "native", + "X-Platform-Version" : "Version 17.0.0 (Build 21A342)", + "X-Preferred-Locales" : "en_EN", + "X-Retry-Count" : "0", + "X-Storefront" : "USA", + "X-StoreKit-Version" : "1", + "X-StoreKit2-Enabled" : "false", + "X-Version" : "4.0.0" + }, + "request" : { + "body" : { + "app_user_id" : "test-user-id", + "redemption_token" : "test-redemption-token" + }, + "method" : "POST", + "url" : "https://api.revenuecat.com/v1/subscribers/redeem_purchase" + } +} \ No newline at end of file diff --git a/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS16-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS16-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json new file mode 100644 index 0000000000..a6164b0e94 --- /dev/null +++ b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS16-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json @@ -0,0 +1,31 @@ +{ + "headers" : { + "Authorization" : "Bearer asharedsecret", + "content-type" : "application/json", + "X-Apple-Device-Identifier" : "5D7C0074-07E4-4564-AAA4-4008D0640881", + "X-Client-Build-Version" : "12345", + "X-Client-Bundle-ID" : "com.apple.dt.xctest.tool", + "X-Client-Version" : "17.0.0", + "X-Is-Debug-Build" : "true", + "X-Is-Sandbox" : "true", + "X-Observer-Mode-Enabled" : "false", + "X-Platform" : "iOS", + "X-Platform-Device" : "arm64", + "X-Platform-Flavor" : "native", + "X-Platform-Version" : "Version 17.0.0 (Build 21A342)", + "X-Preferred-Locales" : "en_EN", + "X-Retry-Count" : "0", + "X-Storefront" : "USA", + "X-StoreKit-Version" : "2", + "X-StoreKit2-Enabled" : "true", + "X-Version" : "4.0.0" + }, + "request" : { + "body" : { + "app_user_id" : "test-user-id", + "redemption_token" : "test-redemption-token" + }, + "method" : "POST", + "url" : "https://api.revenuecat.com/v1/subscribers/redeem_purchase" + } +} \ No newline at end of file diff --git a/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS17-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS17-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json new file mode 100644 index 0000000000..a6164b0e94 --- /dev/null +++ b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS17-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json @@ -0,0 +1,31 @@ +{ + "headers" : { + "Authorization" : "Bearer asharedsecret", + "content-type" : "application/json", + "X-Apple-Device-Identifier" : "5D7C0074-07E4-4564-AAA4-4008D0640881", + "X-Client-Build-Version" : "12345", + "X-Client-Bundle-ID" : "com.apple.dt.xctest.tool", + "X-Client-Version" : "17.0.0", + "X-Is-Debug-Build" : "true", + "X-Is-Sandbox" : "true", + "X-Observer-Mode-Enabled" : "false", + "X-Platform" : "iOS", + "X-Platform-Device" : "arm64", + "X-Platform-Flavor" : "native", + "X-Platform-Version" : "Version 17.0.0 (Build 21A342)", + "X-Preferred-Locales" : "en_EN", + "X-Retry-Count" : "0", + "X-Storefront" : "USA", + "X-StoreKit-Version" : "2", + "X-StoreKit2-Enabled" : "true", + "X-Version" : "4.0.0" + }, + "request" : { + "body" : { + "app_user_id" : "test-user-id", + "redemption_token" : "test-redemption-token" + }, + "method" : "POST", + "url" : "https://api.revenuecat.com/v1/subscribers/redeem_purchase" + } +} \ No newline at end of file diff --git a/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS18-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS18-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json new file mode 100644 index 0000000000..a6736f93a7 --- /dev/null +++ b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/iOS18-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json @@ -0,0 +1,31 @@ +{ + "headers" : { + "Authorization" : "Bearer asharedsecret", + "X-Apple-Device-Identifier" : "5D7C0074-07E4-4564-AAA4-4008D0640881", + "X-Client-Build-Version" : "12345", + "X-Client-Bundle-ID" : "com.apple.dt.xctest.tool", + "X-Client-Version" : "17.0.0", + "X-Is-Debug-Build" : "true", + "X-Is-Sandbox" : "true", + "X-Observer-Mode-Enabled" : "false", + "X-Platform" : "iOS", + "X-Platform-Device" : "arm64", + "X-Platform-Flavor" : "native", + "X-Platform-Version" : "Version 17.0.0 (Build 21A342)", + "X-Preferred-Locales" : "en_EN", + "X-Retry-Count" : "0", + "X-StoreKit-Version" : "2", + "X-StoreKit2-Enabled" : "true", + "X-Storefront" : "USA", + "X-Version" : "4.0.0", + "content-type" : "application/json" + }, + "request" : { + "body" : { + "app_user_id" : "test-user-id", + "redemption_token" : "test-redemption-token" + }, + "method" : "POST", + "url" : "https://api.revenuecat.com/v1/subscribers/redeem_purchase" + } +} \ No newline at end of file diff --git a/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/macOS-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/macOS-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json new file mode 100644 index 0000000000..1ae4f27e60 --- /dev/null +++ b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/macOS-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json @@ -0,0 +1,30 @@ +{ + "headers" : { + "Authorization" : "Bearer asharedsecret", + "content-type" : "application/json", + "X-Client-Build-Version" : "12345", + "X-Client-Bundle-ID" : "com.apple.dt.xctest.tool", + "X-Client-Version" : "17.0.0", + "X-Is-Debug-Build" : "true", + "X-Is-Sandbox" : "false", + "X-Observer-Mode-Enabled" : "false", + "X-Platform" : "iOS", + "X-Platform-Device" : "arm64", + "X-Platform-Flavor" : "native", + "X-Platform-Version" : "Version 17.0.0 (Build 21A342)", + "X-Preferred-Locales" : "en_EN", + "X-Retry-Count" : "0", + "X-Storefront" : "USA", + "X-StoreKit-Version" : "2", + "X-StoreKit2-Enabled" : "true", + "X-Version" : "4.0.0" + }, + "request" : { + "body" : { + "app_user_id" : "test-user-id", + "redemption_token" : "test-redemption-token" + }, + "method" : "POST", + "url" : "https://api.revenuecat.com/v1/subscribers/redeem_purchase" + } +} \ No newline at end of file diff --git a/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/watchOS-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/watchOS-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json new file mode 100644 index 0000000000..0e58e67414 --- /dev/null +++ b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostRedeemWebPurchaseTests/watchOS-testPostRedeemWebPurchaseReturnsPurchaseBelongsToOtherUserError.1.json @@ -0,0 +1,31 @@ +{ + "headers" : { + "Authorization" : "Bearer asharedsecret", + "X-Apple-Device-Identifier" : "5D7C0074-07E4-4564-AAA4-4008D0640881", + "X-Client-Build-Version" : "12345", + "X-Client-Bundle-ID" : "com.apple.dt.xctest.tool", + "X-Client-Version" : "17.0.0", + "X-Is-Debug-Build" : "true", + "X-Is-Sandbox" : "true", + "X-Observer-Mode-Enabled" : "false", + "X-Platform" : "iOS", + "X-Platform-Device" : "arm64", + "X-Platform-Flavor" : "native", + "X-Platform-Version" : "Version 17.0.0 (Build 21A342)", + "X-Preferred-Locales" : "en_EN", + "X-Retry-Count" : "0", + "X-StoreKit-Version" : "1", + "X-StoreKit2-Enabled" : "false", + "X-Storefront" : "USA", + "X-Version" : "4.0.0", + "content-type" : "application/json" + }, + "request" : { + "body" : { + "app_user_id" : "test-user-id", + "redemption_token" : "test-redemption-token" + }, + "method" : "POST", + "url" : "https://api.revenuecat.com/v1/subscribers/redeem_purchase" + } +} \ No newline at end of file