rename mock to memory registry
This commit is contained in:
		| @@ -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)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user