Fix AsyncClient test

This commit is contained in:
Chris Custine 2011-05-23 01:52:13 -06:00
parent 45a6ddbe39
commit f5b8186962
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ public class ChefAsyncClientTest extends RestClientTest<ChefAsyncClient> {
assertRequestLineEquals(httpRequest, "POST http://localhost:4000/clients HTTP/1.1");
assertNonPayloadHeadersEqual(httpRequest, "Accept: application/json\nX-Chef-Version: 0.9.8\n");
assertPayloadEquals(httpRequest, "{\"clientname\":\"client\"}", "application/json", false);
assertPayloadEquals(httpRequest, "{\"name\":\"client\"}", "application/json", false);
assertResponseParserClassEquals(method, httpRequest, ParseJson.class);
assertSaxResponseParserClassEquals(method, null);