From fceb028499038cf93df7285efd3fd70fe35bcfbe Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 3 Jun 2012 21:11:20 -0400 Subject: [PATCH] Fix code style errors. --- lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php | 2 -- lib/Cake/Test/Case/View/XmlViewTest.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php b/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php index 0e03486f1..c6cef46c1 100644 --- a/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php @@ -629,7 +629,6 @@ class DboSourceTest extends CakeTestCase { $this->assertNull($result); } - /** * Test that rare collisions do not happen with method caching * @@ -876,7 +875,6 @@ class DboSourceTest extends CakeTestCase { $this->assertTrue(empty(DboTestSource::$methodCache['fields']), 'Cache not empty'); } - /** * test that fields() method cache detects datasource changes * diff --git a/lib/Cake/Test/Case/View/XmlViewTest.php b/lib/Cake/Test/Case/View/XmlViewTest.php index b2499dbf2..44582e79a 100644 --- a/lib/Cake/Test/Case/View/XmlViewTest.php +++ b/lib/Cake/Test/Case/View/XmlViewTest.php @@ -62,7 +62,7 @@ class XmlViewTest extends CakeTestCase { $View = new XmlView($Controller); $output = $View->render(false); - $expected = Xml::build(array('response'=> array('users'=> $data)))->asXML(); + $expected = Xml::build(array('response' => array('users' => $data)))->asXML(); $this->assertSame($expected, $output); }