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