From 19287cb62ef0ff56f03579c9cf6bedf1e3885c54 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Tue, 17 Apr 2018 11:26:18 +0100 Subject: [PATCH] add for breaking changes in go-micro --- gobreaker_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gobreaker_test.go b/gobreaker_test.go index e878504..0405a59 100644 --- a/gobreaker_test.go +++ b/gobreaker_test.go @@ -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", - }) + }, client.WithContentType("application/json")) var rsp map[string]interface{}