mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-07-15 23:36:27 +02:00
More refactor
This commit is contained in:
parent
9d38aeb863
commit
966ffe1669
8 changed files with 110 additions and 130 deletions
server
12
server/webpush_store_test.go
Normal file
12
server/webpush_store_test.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package server
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func newTestWebPushStore(t *testing.T, filename string) *webPushStore {
|
||||
webPush, err := newWebPushStore(filename)
|
||||
require.Nil(t, err)
|
||||
return webPush
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue