add for breaking changes in go-micro
This commit is contained in:
parent
c3d0e45213
commit
19287cb62e
@ -25,9 +25,9 @@ func TestBreaker(t *testing.T) {
|
|||||||
)),
|
)),
|
||||||
)
|
)
|
||||||
|
|
||||||
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