Skip to content
Snippets Groups Projects
Commit 9a3a42b4 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix tests using disabled TLS

parent 2e4d2b4a
No related branches found
No related tags found
2 merge requests!21Release,!16Xx 3563/disable tls check
......@@ -2,13 +2,22 @@ package notifications
import (
"fmt"
jww "github.com/spf13/jwalterweatherman"
"gitlab.com/elixxir/notifications-bot/storage"
"gitlab.com/xx_network/comms/connect"
"gitlab.com/xx_network/primitives/id"
"gitlab.com/xx_network/primitives/id/ephemeral"
"os"
"testing"
"time"
)
func TestMain(m *testing.M) {
jww.SetStdoutThreshold(jww.LevelTrace)
connect.TestingOnlyDisableTLS = true
os.Exit(m.Run())
}
func TestImpl_InitDeleter(t *testing.T) {
s, err := storage.NewStorage("", "", "", "", "")
if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment