From 0e7b0ad11173bb3c814eef092a2a8dfc35d29381 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 21 Nov 2013 21:46:03 -0500 Subject: [PATCH] Fix failing test. --- .../Test/Case/View/Helper/RssHelperTest.php | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/Cake/Test/Case/View/Helper/RssHelperTest.php b/lib/Cake/Test/Case/View/Helper/RssHelperTest.php index dd439b384..40670abb5 100644 --- a/lib/Cake/Test/Case/View/Helper/RssHelperTest.php +++ b/lib/Cake/Test/Case/View/Helper/RssHelperTest.php @@ -743,36 +743,36 @@ class RssHelperTest extends CakeTestCase { public function testElementNamespaceWithPrefix() { $item = array( - 'title' => 'Title', - 'dc:creator' => 'Alex', - 'xy:description' => 'descriptive words' - ); + 'title' => 'Title', + 'dc:creator' => 'Alex', + 'xy:description' => 'descriptive words' + ); $attributes = array( - 'namespace' => array( - 'prefix' => 'dc', - 'url' => 'http://link.com' - ) + 'namespace' => array( + 'prefix' => 'dc', + 'url' => 'http://link.com' + ) ); $result = $this->Rss->item($attributes, $item); $expected = array( 'item' => array( - 'xmlns:dc' => 'http://link.com' + 'xmlns:dc' => 'http://link.com' ), 'title' => array( - 'xmlns:dc' => 'http://link.com' + 'xmlns:dc' => 'http://link.com' ), 'Title', '/title', 'dc:creator' => array( - 'xmlns:dc' => 'http://link.com' + 'xmlns:dc' => 'http://link.com' ), 'Alex', '/dc:creator', - 'description' => array( - 'xmlns:dc' => 'http://link.com' + 'xy:description' => array( + 'xmlns:dc' => 'http://link.com' ), 'descriptive words', - '/description', + '/xy:description', '/item' ); $this->assertTags($result, $expected, true);