add for breaking changes in go-micro

This commit is contained in:
Asim Aslam 2018-04-17 11:26:18 +01:00 committed by Vasiliy Tolstov
parent f272d764e9
commit 6730e0c351

View File

@ -23,9 +23,9 @@ func TestBreaker(t *testing.T) {
client.Wrap(NewClientWrapper()), client.Wrap(NewClientWrapper()),
) )
req := c.NewJsonRequest("test.service", "Test.Method", map[string]string{ req := c.NewRequest("test.service", "Test.Method", map[string]string{
"foo": "bar", "foo": "bar",
}) }, client.WithContentType("application/json"))
var rsp map[string]interface{} var rsp map[string]interface{}