File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ impl Response {
42
42
Response {
43
43
code : StatusCode :: SERVICE_UNAVAILABLE ,
44
44
content_type : HeaderValue :: from_static ( "application/json; charset=utf-8" ) ,
45
- content : format ! ( "Service Unavailable: {}" , msg. into( ) ) ,
45
+ content : format ! ( "{}" , msg. into( ) ) ,
46
46
}
47
47
}
48
48
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ fn should_handle_health_endpoint_failure() {
179
179
180
180
// then
181
181
assert_eq ! ( response. status, "HTTP/1.1 503 Service Unavailable" . to_owned( ) ) ;
182
- assert_eq ! ( response. body, "Service Unavailable: {\" code\" :-34,\" message\" :\" Server error\" }\n " ) ;
182
+ assert_eq ! ( response. body, "{\" code\" :-34,\" message\" :\" Server error\" }\n " ) ;
183
183
}
184
184
185
185
#[ test]
You can’t perform that action at this time.
0 commit comments