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 8e92bd8567
commit b89adbd204

View File

@ -5,7 +5,7 @@ import (
"github.com/afex/hystrix-go/hystrix" "github.com/afex/hystrix-go/hystrix"
"github.com/micro/go-micro/client" "github.com/micro/go-micro/client"
"github.com/micro/go-micro/registry/mock" "github.com/micro/go-micro/registry/memory"
"github.com/micro/go-micro/selector" "github.com/micro/go-micro/selector"
"context" "context"
@ -13,7 +13,7 @@ import (
func TestBreaker(t *testing.T) { func TestBreaker(t *testing.T) {
// setup // setup
r := mock.NewRegistry() r := memory.NewRegistry()
s := selector.NewSelector(selector.Registry(r)) s := selector.NewSelector(selector.Registry(r))
c := client.NewClient( c := client.NewClient(