root / drupal7 / sites / all / libraries / simplepie / tests / oldtests / first_item_permalink / SPtests / bugs / 176.0.php @ 41cc1b08
1 |
<?php
|
---|---|
2 |
|
3 |
class SimplePie_First_Item_Permalink_Test_Bug_176_Test_0 extends SimplePie_First_Item_Permalink_Test |
4 |
{ |
5 |
function data() |
6 |
{ |
7 |
$this->data =
|
8 |
'<feed xmlns="http://www.w3.org/2005/Atom">
|
9 |
<entry>
|
10 |
<link rel="related" href="http://example.com/related"/>
|
11 |
<link rel="via" href="http://example.com/via"/>
|
12 |
<link rel="alternate" href="http://example.com/alternate"/>
|
13 |
</entry>
|
14 |
</feed>';
|
15 |
} |
16 |
|
17 |
function expected() |
18 |
{ |
19 |
$this->expected = 'http://example.com/alternate'; |
20 |
} |
21 |
} |
22 |
|
23 |
?>
|