rename mock to memory registry
This commit is contained in:
parent
19287cb62e
commit
78525d6849
@ -4,7 +4,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"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"
|
||||||
"github.com/sony/gobreaker"
|
"github.com/sony/gobreaker"
|
||||||
|
|
||||||
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user