Remove required user_id param when sending messages
This commit is contained in:
@@ -2,11 +2,13 @@ package test
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
tt "blackforestbytes.com/simplecloudnotifier/test/util"
|
||||
"git.blackforestbytes.com/BlackForestBytes/goext/exerr"
|
||||
"git.blackforestbytes.com/BlackForestBytes/goext/langext"
|
||||
"github.com/glebarez/go-sqlite"
|
||||
"os"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
@@ -20,3 +22,10 @@ func TestMain(m *testing.M) {
|
||||
|
||||
os.Exit(m.Run())
|
||||
}
|
||||
|
||||
func TestInitFactory(t *testing.T) {
|
||||
ws, _, stop := tt.StartSimpleWebserver(t)
|
||||
defer stop()
|
||||
|
||||
tt.InitDefaultData(t, ws)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user