24 lines
480 B
PHP
24 lines
480 B
PHP
<?php
|
|
|
|
class SimplePie_First_Item_Category_Label_Test_RSS_091_Netscape_Atom_10_Category_Term extends SimplePie_First_Item_Category_Label_Test
|
|
{
|
|
function data()
|
|
{
|
|
$this->data =
|
|
'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
|
|
<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom">
|
|
<channel>
|
|
<item>
|
|
<a:category term="Item Category"/>
|
|
</item>
|
|
</channel>
|
|
</rss>';
|
|
}
|
|
|
|
function expected()
|
|
{
|
|
$this->expected = 'Item Category';
|
|
}
|
|
}
|
|
|
|
?>
|