diff options
Diffstat (limited to 'simplepie/test/first_item_id/SPtests/rss/2.0/atom/1.0/id.php')
-rw-r--r-- | simplepie/test/first_item_id/SPtests/rss/2.0/atom/1.0/id.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/simplepie/test/first_item_id/SPtests/rss/2.0/atom/1.0/id.php b/simplepie/test/first_item_id/SPtests/rss/2.0/atom/1.0/id.php new file mode 100644 index 000000000..fb4cd5471 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/2.0/atom/1.0/id.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_ID_Test_RSS_20_Atom_10_ID extends SimplePie_First_Item_ID_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:id>http://example.com/</a:id> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file |