From 776c9250b05d0bc6a7772916e005a285f4d3a52a Mon Sep 17 00:00:00 2001 From: Umputun Date: Thu, 15 Feb 2018 22:50:45 -0600 Subject: [PATCH] test with notifier --- app/rest/server_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/rest/server_test.go b/app/rest/server_test.go index 73d40d32..24437945 100644 --- a/app/rest/server_test.go +++ b/app/rest/server_test.go @@ -17,6 +17,7 @@ import ( "github.com/stretchr/testify/require" "github.com/umputun/remark/app/migrator" + "github.com/umputun/remark/app/notifier" "github.com/umputun/remark/app/rest/avatar" "github.com/umputun/remark/app/store" ) @@ -348,6 +349,7 @@ func prep(t *testing.T) (srv *Server, port int) { Exporter: &migrator.Remark{DataStore: dataStore}, Cache: &mockCache{}, AvatarProxy: &avatar.Proxy{StorePath: "/tmp", RoutePath: "/api/v1/avatar"}, + Notifier: notifier.NewNoperation(), } go func() { port = rand.Intn(50000) + 1025