aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_title/SPtests/bugs/179.0.10.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_title/SPtests/bugs/179.0.10.php')
-rw-r--r--simplepie/test/first_item_title/SPtests/bugs/179.0.10.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/simplepie/test/first_item_title/SPtests/bugs/179.0.10.php b/simplepie/test/first_item_title/SPtests/bugs/179.0.10.php
new file mode 100644
index 000000000..2d964696b
--- /dev/null
+++ b/simplepie/test/first_item_title/SPtests/bugs/179.0.10.php
@@ -0,0 +1,30 @@
+<?php
+
+class SimplePie_First_Item_Title_Test_Bug_179_Post_10_Test_0 extends SimplePie_First_Item_Title_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed xmlns="http://www.w3.org/2005/Atom">
+ <entry>
+ <title>Title 1</title>
+ <updated>2003-12-13T18:30:02Z</updated>
+ </entry>
+ <entry>
+ <title>Title 2</title>
+ <updated>2003-12-13T18:30:02Z</updated>
+ </entry>
+ <entry>
+ <title>Title 3</title>
+ <updated>2003-12-13T18:30:02Z</updated>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Title 1';
+ }
+}
+
+?> \ No newline at end of file