]> git.mxchange.org Git - friendica.git/blobdiff - simplepie/test/first_item_category_label/SPtests/rss/1.0/dc/1.0/subject.php
Add simplepie
[friendica.git] / simplepie / test / first_item_category_label / SPtests / rss / 1.0 / dc / 1.0 / subject.php
diff --git a/simplepie/test/first_item_category_label/SPtests/rss/1.0/dc/1.0/subject.php b/simplepie/test/first_item_category_label/SPtests/rss/1.0/dc/1.0/subject.php
new file mode 100644 (file)
index 0000000..7e2d5c6
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Category_Label_Test_RSS_10_DC_10_Subject extends SimplePie_First_Item_Category_Label_Test
+{
+       function data()
+       {
+               $this->data = 
+'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.0/">
+       <item>
+               <dc:subject>Item Category</dc:subject>
+       </item>
+</rdf:RDF>';
+       }
+       
+       function expected()
+       {
+               $this->expected = 'Item Category';
+       }
+}
+
+?>
\ No newline at end of file