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