This commit is contained in:
Zoltán Papp 2024-07-29 21:39:17 +02:00
parent 100e31276f
commit 12f472c58c

View File

@ -11,6 +11,14 @@ import (
"github.com/netbirdio/netbird/relay/server"
)
func TestEmptyURL(t *testing.T) {
mgr := NewManager(context.Background(), "", "alice")
err := mgr.Serve()
if err == nil {
t.Errorf("expected error, got nil")
}
}
func TestForeignConn(t *testing.T) {
ctx := context.Background()