-
Bug
-
Resolution: Done
-
Major
-
2.1.0.GA
-
None
The PatchTest.java class is not working, running mvn clean install or mvn install provides this result:
Running com.restfully.shop.test.PatchTest
-
-
- Create a new Customer ***
15.01.2011 16:23:46 org.jboss.resteasy.spi.ResteasyDeployment
INFO: Deploying javax.ws.rs.core.Application: class com.restfully.shop.services.ShoppingApplication
15.01.2011 16:23:46 org.jboss.resteasy.spi.ResteasyDeployment
INFO: Adding singleton resource com.restfully.shop.services.CustomerResource from Application javax.ws.rs.core.Application
Created customer 1
Location: Location: http://localhost:9095/customers/1
15.01.2011 16:23:46 org.apache.http.impl.conn.SingleClientConnManager revokeConnection
WARNING: Invalid use of SingleClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.- After Update ***
Content-Type: Content-Type: application/xml
<customer id="1">
<first-name>William</first-name>
<last-name>null</last-name>
<street>null</street>
<city>Boston</city>
<state>null</state>
<zip>null</zip>
<country>null</country>
</customer>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.511 sec
- After Update ***
- Create a new Customer ***
-
After update above should not be showing "null" for those fields, but there actual values.
Also, the WARNING above may be indicating another problem with this test case.