aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_title/SPtests/bugs/666.0.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_title/SPtests/bugs/666.0.php')
-rw-r--r--simplepie/test/first_item_title/SPtests/bugs/666.0.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/simplepie/test/first_item_title/SPtests/bugs/666.0.php b/simplepie/test/first_item_title/SPtests/bugs/666.0.php
new file mode 100644
index 000000000..c5d4de155
--- /dev/null
+++ b/simplepie/test/first_item_title/SPtests/bugs/666.0.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Title_Test_Bug_666_Test_0 extends SimplePie_First_Item_Title_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/">
+ <channel>
+ <title>Feed Title</title>
+ </channel>
+ <item>
+ <title>Item Title</title>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Title';
+ }
+}
+
+?> \ No newline at end of file