Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new push provider: nanopush #78

Merged
merged 7 commits into from
Nov 29, 2023
Prev Previous commit
Next Next commit
close test server
  • Loading branch information
jessepeterson committed Aug 29, 2023
commit 1091c4a0345f61acebc261b3d82560e5efc7b096
1 change: 1 addition & 0 deletions push/nanopush/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func TestPush(t *testing.T) {

handler := http.NewServeMux()
server := httptest.NewServer(handler)
defer server.Close()

handler.HandleFunc("/3/device/", func(w http.ResponseWriter, r *http.Request) {
expectURL := fmt.Sprintf("/3/device/%s", deviceToken)
Expand Down