Fix osgi test for rome fetcher (#322)

The test is fragile, but there is no point in improving it since fetcher
is deprecated anyway.
This commit is contained in:
mishako 2017-01-04 13:07:24 +01:00 committed by Patrick Gotthard
parent 9b27f0563d
commit 39c460c0c6

View file

@ -32,7 +32,7 @@ public class FetcherIT {
public void test() throws Exception { public void test() throws Exception {
FeedFetcherCache cache = HashMapFeedInfoCache.getInstance(); FeedFetcherCache cache = HashMapFeedInfoCache.getInstance();
FeedFetcher fetcher = new HttpURLFeedFetcher(cache); FeedFetcher fetcher = new HttpURLFeedFetcher(cache);
SyndFeed feed = fetcher.retrieveFeed(new URL("http://www.w3.org/blog/news/feed/atom")); SyndFeed feed = fetcher.retrieveFeed(new URL("https://www.w3.org/blog/news/feed/atom"));
assertEquals("W3C News", feed.getTitle()); assertEquals("W3C News", feed.getTitle());
} }