Closed pleasefixthisissue closed 8 years ago
Sure! We do mock the APNs server/responses in the tests. Take a look at the client_tests.go
where you can see an example https://github.com/sideshow/apns2/blob/master/client_test.go#L163-L168 . It uses httptest
which bypasses ssl.
It would be great to support testing with a mock apn server that does not use ssl.