mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
test case for rss helper fix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5766 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
1ff8feb94c
commit
b73aa20784
1 changed files with 3 additions and 0 deletions
|
@ -97,6 +97,9 @@ class RssTest extends UnitTestCase {
|
|||
}
|
||||
|
||||
function testItem() {
|
||||
$result = $this->Rss->item(null, array("title"=>"My title","description"=>"My description","link"=>"http://www.google.com/"));
|
||||
$expecting = '<item><title>My title</title><description>My description</description><link>http://www.google.com/</link><guid>http://www.google.com/</guid></item>';
|
||||
$this->assertEqual($result, $expecting);
|
||||
}
|
||||
|
||||
function testTime() {
|
||||
|
|
Loading…
Add table
Reference in a new issue