From aa41dd85eaba767c5367675ec5aaf94746f0b1a8 Mon Sep 17 00:00:00 2001 From: nash Date: Tue, 26 Oct 2010 19:30:36 +0000 Subject: Merge r1025782 TUSCANY-3743: Check for correct response code from If-Unmodified-Since git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027697 13f79535-47bb-0310-9956-ffa450edef68 --- .../feed-aggregator/src/test/java/feed/FeedAggregatorTestCase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sca-java-1.x/trunk/samples/feed-aggregator/src/test/java/feed/FeedAggregatorTestCase.java b/sca-java-1.x/trunk/samples/feed-aggregator/src/test/java/feed/FeedAggregatorTestCase.java index 8196ef5410..3ee44c4c0e 100644 --- a/sca-java-1.x/trunk/samples/feed-aggregator/src/test/java/feed/FeedAggregatorTestCase.java +++ b/sca-java-1.x/trunk/samples/feed-aggregator/src/test/java/feed/FeedAggregatorTestCase.java @@ -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); -- cgit v1.2.3