aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_title/SPtests/bugs/629.0.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_title/SPtests/bugs/629.0.php')
-rw-r--r--simplepie/test/first_item_title/SPtests/bugs/629.0.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/simplepie/test/first_item_title/SPtests/bugs/629.0.php b/simplepie/test/first_item_title/SPtests/bugs/629.0.php
new file mode 100644
index 000000000..82115daf7
--- /dev/null
+++ b/simplepie/test/first_item_title/SPtests/bugs/629.0.php
@@ -0,0 +1,26 @@
+<?php
+
+class SimplePie_First_Item_Title_Test_Bug_629_Test_0 extends SimplePie_First_Item_Title_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed xmlns="http://www.w3.org/2005/Atom">
+ <x:foo xmlns:x="urn:foo">
+ <entry>
+ <title>Extension title</title>
+ </entry>
+ </x:foo>
+ <entry>
+ <title>Item title</title>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item title';
+ }
+}
+
+?> \ No newline at end of file