Add simplepie
This commit is contained in:
21
simplepie/test/first_item_permalink/SPtests/xmlbase/2.php
Normal file
21
simplepie/test/first_item_permalink/SPtests/xmlbase/2.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
class SimplePie_First_Item_Permalink_Test_Atom_10_xmlbase_2 extends SimplePie_First_Item_Permalink_Test
|
||||
{
|
||||
function data()
|
||||
{
|
||||
$this->data =
|
||||
'<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<entry xml:base="http://example.com/">
|
||||
<link rel="alternate" href="/alternate"/>
|
||||
</entry>
|
||||
</feed>';
|
||||
}
|
||||
|
||||
function expected()
|
||||
{
|
||||
$this->expected = 'http://example.com/alternate';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user