Iterable / swift-sdk

Iterable's iOS SDK. Receive and track pushes to Iterable from your iOS app.
https://iterable.com/
MIT License
86 stars 67 forks source link

fix integration tests #656

Closed anlinguist closed 1 year ago

anlinguist commented 1 year ago

This PR fixes integration test failures related to:

  1. No proper server key for sending in app messages (e.g. /inApp/target) via IterableAPISupport
  2. The mobile SDK test project caching is broken somehow so that calling getMessages yields a set of messages each with the same data, including messageIds, none of which correspond to the actual messageIds for a user's non-consumed messages. This means we cannot consume those messages via our integration test, causing the tests to fail.