Skip to content
Permalink
Browse files

Fix whitespace errors.

  • Loading branch information...
markstory committed May 12, 2012
1 parent 5d3291b commit a3a2655fd594c7637513cfbd7ef251ae3bafe841
@@ -514,9 +514,9 @@ public function testReadLegacyCookieValue() {
*/
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'));
@@ -320,8 +320,8 @@ public function testPreparedQuery() {
$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 @@ public function testPreparedQuery() {
$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

0 comments on commit a3a2655

Please sign in to comment.
You can’t perform that action at this time.