contrib modules security updates

This commit is contained in:
Bachir Soussi Chiadmi
2016-10-13 12:10:40 +02:00
parent ffd758abc9
commit 747127f643
732 changed files with 67976 additions and 23207 deletions

View File

@@ -32,6 +32,7 @@ class CommonSyndicationParserTestCase extends DrupalWebTestCase {
$this->_testRSS10();
$this->_testRSS2();
$this->_testAtomGeoRSS();
$this->_testAtomGeoRSSWithoutAuthor();
}
/**
@@ -82,6 +83,14 @@ class CommonSyndicationParserTestCase extends DrupalWebTestCase {
$this->assertEqual($feed['items'][3]['geolocations'][0]['lon'], '172.5902');
}
/**
* Tests parsing an Atom feed without an author.
*/
protected function _testAtomGeoRSSWithoutAuthor() {
$string = $this->readFeed('earthquake-georss-noauthor.atom');
$feed = common_syndication_parser_parse($string);
}
/**
* Helper to read a feed.
*/