Skip to content
This repository
Browse code

adding change to DboSource test that was not committed in [8267]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8275 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information...
commit 07d1ecdf6d89e553562c6ff429317282cab56b45 1 parent 3f46bf9
authored August 02, 2009
4  cake/tests/cases/libs/model/datasources/dbo_source.test.php
@@ -3395,14 +3395,14 @@ function testBuildIndex() {
3395 3395
 			'MyIndex' => array('column' => 'id', 'unique' => true)
3396 3396
 		);
3397 3397
 		$result = $this->testDb->buildIndex($data);
3398  
-		$expected = array('UNIQUE KEY MyIndex (`id`)');
  3398
+		$expected = array('UNIQUE KEY `MyIndex` (`id`)');
3399 3399
 		$this->assertEqual($result, $expected);
3400 3400
 
3401 3401
 		$data = array(
3402 3402
 			'MyIndex' => array('column' => array('id', 'name'), 'unique' => true)
3403 3403
 		);
3404 3404
 		$result = $this->testDb->buildIndex($data);
3405  
-		$expected = array('UNIQUE KEY MyIndex (`id`, `name`)');
  3405
+		$expected = array('UNIQUE KEY `MyIndex` (`id`, `name`)');
3406 3406
 		$this->assertEqual($result, $expected);
3407 3407
 	}
3408 3408
 /**

0 notes on commit 07d1ecd

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