aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_title/SPtests/bugs/18.1.php
blob: d51c3d3df7ed1a129924f6a21bd1a650c2e04b51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

class SimplePie_Feed_Title_Test_Bug_18_Test_1 extends SimplePie_Feed_Title_Test
{
	function data()
	{
		$this->data = 
'<rss version="2.0">
	<channel>
		<image>
			<title>Image title</title>
		</image>
		<title>Channel title</title>
	</channel>
</rss>';
	}
	
	function expected()
	{
		$this->expected = 'Channel title';
	}
}

?>