diff options
Diffstat (limited to 'simplepie/test/first_item_permalink/SPtests/rss/1.0/link.php')
-rw-r--r-- | simplepie/test/first_item_permalink/SPtests/rss/1.0/link.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/simplepie/test/first_item_permalink/SPtests/rss/1.0/link.php b/simplepie/test/first_item_permalink/SPtests/rss/1.0/link.php new file mode 100644 index 000000000..2eb4b4fc0 --- /dev/null +++ b/simplepie/test/first_item_permalink/SPtests/rss/1.0/link.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Permalink_Test_RSS_10_Link extends SimplePie_First_Item_Permalink_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/"> + <item> + <link>http://example.com/</link> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file |