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