aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_image_link/SPtests/rss/2.0/link.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_image_link/SPtests/rss/2.0/link.php')
-rw-r--r--simplepie/test/feed_image_link/SPtests/rss/2.0/link.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/simplepie/test/feed_image_link/SPtests/rss/2.0/link.php b/simplepie/test/feed_image_link/SPtests/rss/2.0/link.php
new file mode 100644
index 000000000..75c8deb33
--- /dev/null
+++ b/simplepie/test/feed_image_link/SPtests/rss/2.0/link.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_Feed_Image_Link_Test_RSS_20_Link extends SimplePie_Feed_Image_Link_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0">
+ <channel>
+ <image>
+ <link>http://example.com/</link>
+ </image>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://example.com/';
+ }
+}
+
+?> \ No newline at end of file