summaryrefslogtreecommitdiffstats
path: root/gateway/gateway_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'gateway/gateway_test.go')
-rw-r--r--gateway/gateway_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/gateway/gateway_test.go b/gateway/gateway_test.go
index e7b77bf4..798b30c8 100644
--- a/gateway/gateway_test.go
+++ b/gateway/gateway_test.go
@@ -5,6 +5,7 @@ import (
"strconv"
"github.com/42wim/matterbridge/bridge/config"
+ "github.com/42wim/matterbridge/gateway/bridgemap"
"github.com/stretchr/testify/assert"
"testing"
@@ -160,7 +161,7 @@ const (
func maketestRouter(input []byte) *Router {
cfg := config.NewConfigFromString(input)
- r, err := NewRouter(cfg)
+ r, err := NewRouter(cfg, bridgemap.FullMap)
if err != nil {
fmt.Println(err)
}