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:
parent
69cfcc6713
commit
6266506179
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue