aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/height.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_image_height/SPtests/rss/0.91-userland/height.php')
-rw-r--r--simplepie/test/feed_image_height/SPtests/rss/0.91-userland/height.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/height.php b/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/height.php
new file mode 100644
index 000000000..5b7ba7311
--- /dev/null
+++ b/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/height.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_Feed_Image_Height_Test_RSS_091_Userland_Height extends SimplePie_Feed_Image_Height_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91">
+ <channel>
+ <image>
+ <height>100</height>
+ </image>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 100.0;
+ }
+}
+
+?> \ No newline at end of file