TestData-Factory [WIP]

This commit is contained in:
2022-12-09 00:40:50 +01:00
parent edfcdd1135
commit 06788c3e12
8 changed files with 142 additions and 28 deletions
+1 -2
View File
@@ -9,7 +9,6 @@ import (
"blackforestbytes.com/simplecloudnotifier/jobs"
"blackforestbytes.com/simplecloudnotifier/logic"
"blackforestbytes.com/simplecloudnotifier/push"
"fmt"
"gogs.mikescher.com/BlackForestBytes/goext/langext"
"os"
"path/filepath"
@@ -45,7 +44,7 @@ func StartSimpleWebserver(t *testing.T) (*logic.Application, func()) {
TestFailErr(t, err)
}
fmt.Println("DatabaseFile: " + dbfile)
TPrintln("DatabaseFile: " + dbfile)
conf := scn.Config{
Namespace: "test",