rename mock to memory registry
This commit is contained in:
parent
1e387557a4
commit
01b4b35505
@ -7,12 +7,12 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/micro/go-micro/registry"
|
"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"
|
"github.com/micro/go-micro/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestHTTPServer(t *testing.T) {
|
func TestHTTPServer(t *testing.T) {
|
||||||
reg := mock.NewRegistry()
|
reg := memory.NewRegistry()
|
||||||
|
|
||||||
// create server
|
// create server
|
||||||
srv := NewServer(server.Registry(reg))
|
srv := NewServer(server.Registry(reg))
|
||||||
|
Loading…
Reference in New Issue
Block a user