add for breaking changes in go-micro
This commit is contained in:
parent
f272d764e9
commit
6730e0c351
@ -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{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user