aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_category_label/SPtests/rss/2.0/category.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_category_label/SPtests/rss/2.0/category.php')
-rw-r--r--simplepie/test/first_item_category_label/SPtests/rss/2.0/category.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/simplepie/test/first_item_category_label/SPtests/rss/2.0/category.php b/simplepie/test/first_item_category_label/SPtests/rss/2.0/category.php
new file mode 100644
index 000000000..c691b2395
--- /dev/null
+++ b/simplepie/test/first_item_category_label/SPtests/rss/2.0/category.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Category_Label_Test_RSS_20_Category extends SimplePie_First_Item_Category_Label_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0">
+ <channel>
+ <item>
+ <category>Item Category</category>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Category';
+ }
+}
+
+?> \ No newline at end of file