]> git.mxchange.org Git - friendica.git/blobdiff - simplepie/test/first_item_author_name/SPtests/rss/2.0/dc/1.0/creator.php
Add simplepie
[friendica.git] / simplepie / test / first_item_author_name / SPtests / rss / 2.0 / dc / 1.0 / creator.php
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/2.0/dc/1.0/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/2.0/dc/1.0/creator.php
new file mode 100644 (file)
index 0000000..35c64de
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_20_DC_10_Creator extends SimplePie_First_Item_Author_Name_Test
+{
+       function data()
+       {
+               $this->data = 
+'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.0/">
+       <channel>
+               <item>
+                       <dc:creator>Item Author</dc:creator>
+               </item>
+       </channel>
+</rss>';
+       }
+       
+       function expected()
+       {
+               $this->expected = 'Item Author';
+       }
+}
+
+?>
\ No newline at end of file