diff options
Diffstat (limited to 'simplepie/test/first_item_contributor_name/SPtests/rss/0.91-netscape/atom/0.3')
-rw-r--r-- | simplepie/test/first_item_contributor_name/SPtests/rss/0.91-netscape/atom/0.3/name.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/simplepie/test/first_item_contributor_name/SPtests/rss/0.91-netscape/atom/0.3/name.php b/simplepie/test/first_item_contributor_name/SPtests/rss/0.91-netscape/atom/0.3/name.php new file mode 100644 index 000000000..58f3cc079 --- /dev/null +++ b/simplepie/test/first_item_contributor_name/SPtests/rss/0.91-netscape/atom/0.3/name.php @@ -0,0 +1,26 @@ +<?php + +class SimplePie_First_Item_Contributor_Name_Test_RSS_091_Netscape_Atom_03_Name extends SimplePie_First_Item_Contributor_Name_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:contributor> + <a:name>Item Contributor</a:name> + </a:contributor> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Contributor'; + } +} + +?>
\ No newline at end of file |