Skip to content
This repository
Browse code

Fixing code formatting in test cases.

  • Loading branch information...
commit 66a8890f4fcc6c8271da2181ac66deb1f7291772 1 parent 07948a7
Mark Story authored May 30, 2010
2  cake/tests/cases/libs/model/datasources/dbo_source.test.php
@@ -4316,7 +4316,7 @@ function testVirtualFieldsInConditions() {
4316 4316
 				' WHERE Article.id = ' . $this->db->fullTableName('comments') . '.article_id'
4317 4317
 		);
4318 4318
 		$conditions = array('two' => 2);
4319  
-		$result = $this->db->conditions($conditions,true,false,$Article);
  4319
+		$result = $this->db->conditions($conditions, true, false, $Article);
4320 4320
 		$expected = '(1 + 1) = 2';
4321 4321
 		$this->assertEqual($expected, $result);
4322 4322
 
4  cake/tests/cases/libs/model/model_read.test.php
@@ -7223,7 +7223,7 @@ function testVirtualFields() {
7223 7223
 
7224 7224
 		$dbo =& $Post->getDataSource();
7225 7225
 		$Post->virtualFields = array('other_field' => 'Post.id + 1');
7226  
-		$result = $Post->find('first',array(
  7226
+		$result = $Post->find('first', array(
7227 7227
 			'conditions' => array('other_field' => 3),
7228 7228
 			'limit' => 1
7229 7229
 		));
@@ -7231,7 +7231,7 @@ function testVirtualFields() {
7231 7231
 
7232 7232
 		$Post->virtualFields = array('other_field' => 'Post.id + 1');
7233 7233
 		$result = $Post->find('all',array(
7234  
-			'fields' => array($dbo->calculate($Post, 'max',array('other_field')))
  7234
+			'fields' => array($dbo->calculate($Post, 'max', array('other_field')))
7235 7235
 		));
7236 7236
 		$this->assertEqual($result[0][0]['other_field'], 4);
7237 7237
 

0 notes on commit 66a8890

Please sign in to comment.
Something went wrong with that request. Please try again.