Skip to content

Commit

Permalink
fix: Updated test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jawad-khan committed Sep 3, 2024
1 parent fb50782 commit 2572cd1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ecommerce/extensions/iap/api/v1/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ def test_upload_screenshot_of_inapp_purchase(self, _):
self.assertEqual(post_call.call_args[1]['headers'], headers)

self.assertEqual(put_call.call_args[0][0], 'https://image-url.com')
img_headers = headers.copy()
img_headers['Content-Type'] = 'image/png'
img_headers = {'Content-Type': 'image/png'}
self.assertEqual(put_call.call_args[1]['headers'], img_headers)

img_patch_url = 'https://api.appstoreconnect.apple.com/v1/inAppPurchaseAppStoreReviewScreenshots/1234'
Expand Down

0 comments on commit 2572cd1

Please sign in to comment.