TUSCANY-3743: Check for correct response code from If-Unmodified-Since

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1025782 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
nash 2010-10-20 22:17:14 +00:00
parent 69cfcc6713
commit 6266506179

View file

@ -213,9 +213,9 @@ public class FeedAggregatorTestCase {
ClientResponse res = client.get(providerURI, opts);
Assert.assertNotNull(res);
try {
// Should return 304 - Feed not provided since feed is modified
// Should return 412 - Feed not provided since feed is modified
// since.
Assert.assertEquals(304, res.getStatus());
Assert.assertEquals(412, res.getStatus());
// Entry count and body size should be equal to basic request
long thisContentLength = getContentLength(res);