mongodb / stitch-ios-sdk

Apache License 2.0
42 stars 25 forks source link

STITCH-1364 STITCH-1299 Admin SDK and integration tests #50

Closed adamchel closed 6 years ago

adamchel commented 6 years ago

I know this looks like a huge PR, but 2000 of the 3500 changes are of StitchCore.xcodeproj which was regenerated in SPM to add the new target (and in the future we won't even be committing this xcodeproj), and much of the rest is based on code we've already written. I know we said we should be making smaller PRs so hopefully this will be the last of the monolithic PRs.

This PR adds the admin SDK as a separate target/product of the StitchCore package, and adds integration tests to the StitchCore-iOS project.

The integration tests include everything that was tested on Android, except custom auth. I have that test commented out for now and will try now to fix it. We'll need CommonCrypto for the test to run properly (for generating the mock JWT) and Jason said that's non-trivial to add for iOS so I wanted to get the PR out first before I spend too much time on that.

Drive-by changes: