From fcec86f6a6406f5c1583402f2302013cbe3074a6 Mon Sep 17 00:00:00 2001 From: Umputun Date: Wed, 14 Feb 2018 17:03:21 -0600 Subject: [PATCH] fix prep rest prepare for tests --- app/rest/server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/rest/server_test.go b/app/rest/server_test.go index e5eaccc9..73d40d32 100644 --- a/app/rest/server_test.go +++ b/app/rest/server_test.go @@ -347,7 +347,7 @@ func prep(t *testing.T) (srv *Server, port int) { AuthProviders: nil, Exporter: &migrator.Remark{DataStore: dataStore}, Cache: &mockCache{}, - AvatarProxy: avatar.Proxy{StorePath: "/tmp", RoutePath: "/api/v1/avatar"}, + AvatarProxy: &avatar.Proxy{StorePath: "/tmp", RoutePath: "/api/v1/avatar"}, } go func() { port = rand.Intn(50000) + 1025