]> git.mxchange.org Git - friendica.git/blobdiff - simplepie/test/first_item_category_label/SPtests/rss/2.0/atom/1.0/label.php
Add simplepie
[friendica.git] / simplepie / test / first_item_category_label / SPtests / rss / 2.0 / atom / 1.0 / label.php
diff --git a/simplepie/test/first_item_category_label/SPtests/rss/2.0/atom/1.0/label.php b/simplepie/test/first_item_category_label/SPtests/rss/2.0/atom/1.0/label.php
new file mode 100644 (file)
index 0000000..41c2cd6
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Category_Label_Test_RSS_20_Atom_10_Category_Label extends SimplePie_First_Item_Category_Label_Test
+{
+       function data()
+       {
+               $this->data = 
+'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom">
+       <channel>
+               <item>
+                       <a:category label="Item Category"/>
+               </item>
+       </channel>
+</rss>';
+       }
+       
+       function expected()
+       {
+               $this->expected = 'Item Category';
+       }
+}
+
+?>
\ No newline at end of file