contrib modules security updates
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user