aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_title/SPtests/bugs/431.0.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_title/SPtests/bugs/431.0.php')
-rw-r--r--simplepie/test/first_item_title/SPtests/bugs/431.0.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/simplepie/test/first_item_title/SPtests/bugs/431.0.php b/simplepie/test/first_item_title/SPtests/bugs/431.0.php
new file mode 100644
index 000000000..691b0e7da
--- /dev/null
+++ b/simplepie/test/first_item_title/SPtests/bugs/431.0.php
@@ -0,0 +1,26 @@
+<?php
+
+class SimplePie_First_Item_Title_Test_Bug_431_Test_0 extends SimplePie_First_Item_Title_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0">
+ <channel>
+ <item>
+ <title>Item title</title>
+ <image>
+ <title>Image title</title>
+ </image>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item title';
+ }
+}
+
+?> \ No newline at end of file