fix prep rest prepare for tests

This commit is contained in:
Umputun
2018-02-14 17:03:21 -06:00
parent 81ce99ca51
commit fcec86f6a6
+1 -1
View File
@@ -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