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{}