1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-05-23 23:37:45 +02:00

Continued logging work

This commit is contained in:
binwiederhier 2023-02-05 23:34:27 -05:00
parent 27bd79febf
commit 7cc8c81bd8
28 changed files with 287 additions and 171 deletions

View file

@ -13,6 +13,7 @@ import (
"net/http"
"net/http/httptest"
"net/netip"
"os"
"path/filepath"
"strings"
"sync"
@ -26,8 +27,9 @@ import (
"heckel.io/ntfy/util"
)
func init() {
// log.SetLevel(log.DebugLevel)
func TestMain(m *testing.M) {
log.SetLevel(log.ErrorLevel)
os.Exit(m.Run())
}
func TestServer_PublishAndPoll(t *testing.T) {