rename mock to memory registry

This commit is contained in:
Asim Aslam 2019-01-14 15:30:33 +00:00 committed by Vasiliy Tolstov
parent 1e387557a4
commit 01b4b35505

View File

@ -7,12 +7,12 @@ import (
"testing"
"github.com/micro/go-micro/registry"
"github.com/micro/go-micro/registry/mock"
"github.com/micro/go-micro/registry/memory"
"github.com/micro/go-micro/server"
)
func TestHTTPServer(t *testing.T) {
reg := mock.NewRegistry()
reg := memory.NewRegistry()
// create server
srv := NewServer(server.Registry(reg))