Automattic-Tracks-iOS
Automattic-Tracks-iOS copied to clipboard
Refactor ExPlat assignments endpoint unit tests
This PR is to address the following feedback:
-
Use
OHHTTPStubs
to assert that the ExPlat assignments request contains appropriate values. -
Constrain the lifecycle of
trackService
to the test methods.
- [x] I have considered if this change warrants release notes and have added them to the appropriate section in the
CHANGELOG.md
if necessary.