Browse Source

Fix whitespace errors.

mark_story 14 years ago
parent
commit
a3a2655fd5

+ 3 - 3
lib/Cake/Test/Case/Controller/Component/CookieComponentTest.php

@@ -514,9 +514,9 @@ class CookieComponentTest extends CakeTestCase {
  */
 	public function testReadEmpty() {
 		$_COOKIE['CakeTestCookie'] = array(
-		  'JSON' => '{"name":"value"}',
-		  'Empty' => '',
-		  'String' => '{"somewhat:"broken"}'
+			'JSON' => '{"name":"value"}',
+			'Empty' => '',
+			'String' => '{"somewhat:"broken"}'
 		);
 		$this->assertEquals(array('name' => 'value'), $this->Cookie->read('JSON'));
 		$this->assertEquals('value', $this->Cookie->read('JSON.name'));

+ 4 - 4
lib/Cake/Test/Case/Model/ModelReadTest.php

@@ -320,8 +320,8 @@ class ModelReadTest extends BaseModelTest {
 		$result = $Article->query($query, $params, false);
 		$this->assertTrue(is_array($result));
 		$this->assertTrue(
-			   isset($result[0][$this->db->fullTableName('articles', false, false)])
-			|| isset($result[0][0])
+			isset($result[0][$this->db->fullTableName('articles', false, false)]) ||
+			isset($result[0][0])
 		);
 		$result = $this->db->getQueryCache($query, $params);
 		$this->assertTrue(empty($result));
@@ -334,8 +334,8 @@ class ModelReadTest extends BaseModelTest {
 		$result = $Article->query($query, $params);
 		$this->assertTrue(is_array($result));
 		$this->assertTrue(
-			   isset($result[0][$this->db->fullTableName('articles', false, false)]['title'])
-			|| isset($result[0][0]['title'])
+			isset($result[0][$this->db->fullTableName('articles', false, false)]['title']) ||
+			isset($result[0][0]['title'])
 		);
 
 		//related to ticket #5035