From 36670d77ce59ac100804961f9db9a2c87116d313 Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Tue, 5 Apr 2022 13:02:26 -0700 Subject: [PATCH] Updated snapshots for iOS 12.x I updated and removed some tests in #1431 but forgot to update the snapshots for iOS 12.x --- ...rorIsForwardedForCustomerInfoCalls.1.json} | 0 .../testForwards400ErrorsCorrectly.1.json | 21 ------------------- ...ErrorsCorrectlyForCustomerInfoCalls.1.json | 21 ------------------- 3 files changed, 42 deletions(-) rename Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/{testNetworkErrorIsForwardedForCustomerInfoCalls.1.json => testErrorIsForwardedForCustomerInfoCalls.1.json} (100%) delete mode 100644 Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testForwards400ErrorsCorrectly.1.json delete mode 100644 Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testForwards500ErrorsCorrectlyForCustomerInfoCalls.1.json diff --git a/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testNetworkErrorIsForwardedForCustomerInfoCalls.1.json b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testErrorIsForwardedForCustomerInfoCalls.1.json similarity index 100% rename from Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testNetworkErrorIsForwardedForCustomerInfoCalls.1.json rename to Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testErrorIsForwardedForCustomerInfoCalls.1.json diff --git a/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testForwards400ErrorsCorrectly.1.json b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testForwards400ErrorsCorrectly.1.json deleted file mode 100644 index 981dce8362..0000000000 --- a/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testForwards400ErrorsCorrectly.1.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "headers" : { - "Authorization" : "Bearer asharedsecret" - }, - "request" : { - "body" : { - "app_user_id" : "user", - "attributes" : { - "$attConsentStatus" : { - "updated_at_ms" : 1678307200000, - "value" : "notDetermined" - } - }, - "fetch_token" : "YW4gYXdlc29tZSByZWNlaXB0", - "is_restore" : false, - "observer_mode" : false - }, - "method" : "POST", - "url" : "https:\/\/api.revenuecat.com\/v1\/receipts" - } -} \ No newline at end of file diff --git a/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testForwards500ErrorsCorrectlyForCustomerInfoCalls.1.json b/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testForwards500ErrorsCorrectlyForCustomerInfoCalls.1.json deleted file mode 100644 index 981dce8362..0000000000 --- a/Tests/UnitTests/Networking/Backend/__Snapshots__/BackendPostReceiptDataTestsiOS13AndBelow/testForwards500ErrorsCorrectlyForCustomerInfoCalls.1.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "headers" : { - "Authorization" : "Bearer asharedsecret" - }, - "request" : { - "body" : { - "app_user_id" : "user", - "attributes" : { - "$attConsentStatus" : { - "updated_at_ms" : 1678307200000, - "value" : "notDetermined" - } - }, - "fetch_token" : "YW4gYXdlc29tZSByZWNlaXB0", - "is_restore" : false, - "observer_mode" : false - }, - "method" : "POST", - "url" : "https:\/\/api.revenuecat.com\/v1\/receipts" - } -} \ No newline at end of file