mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-08 10:45:34 +08:00
* Create skeleton test suite for connect transport * Remove service test because sqlmock never made it into the master branch. Add transport test for connect loosely based on groobs management transport tests. * Added mock command service. Add single test for InstalledApplicationList Add some modified real world responses as test data. * Create fake device fixture for connect tests * Add some more macOS responses. Fix nullstring error in transport test. proper teardown of httptest server. * Even more responses from live system to use as test fixtures. * Cleanup commented code. Simple test for inserted applications with InstalledApplicationList response. * Cleanup unused imports. * Add tests for DeviceInformation and CertificateList. Try to construct the command request in setup(), dirty hack. * Use rollback instead of inline statements to destroy fixtures. Fix incorrect plist in deviceinformation test. Minor cleanups * Add checkin authenticate test. Fix some "down" migrations which didnt actually work. * Basic coverage of checkin tests. Fix invalid fixture base64 data. * Tidy up mock management service and imports. * Revert back to setup()/teardown() style per discussion with groob. * Clean up imports