Fix line length
This commit is contained in:
parent
91cd6f35ce
commit
b2f9f746bb
|
@ -54,7 +54,8 @@ public class DetailedErrorsDisabledIT extends HttpSmokeTestCase {
|
|||
|
||||
Response response = e.getResponse();
|
||||
assertThat(response.getHeader("Content-Type"), is("application/json; charset=UTF-8"));
|
||||
assertThat(EntityUtils.toString(e.getResponse().getEntity()), containsString("\"error\":\"error traces in responses are disabled.\""));
|
||||
assertThat(EntityUtils.toString(e.getResponse().getEntity()),
|
||||
containsString("\"error\":\"error traces in responses are disabled.\""));
|
||||
assertThat(response.getStatusLine().getStatusCode(), is(400));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue