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