From 07d1ecdf6d89e553562c6ff429317282cab56b45 Mon Sep 17 00:00:00 2001 From: gwoo Date: Sun, 2 Aug 2009 23:21:24 +0000 Subject: [PATCH] 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 --- cake/tests/cases/libs/model/datasources/dbo_source.test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/tests/cases/libs/model/datasources/dbo_source.test.php b/cake/tests/cases/libs/model/datasources/dbo_source.test.php index 943571579..87c5cfcee 100644 --- a/cake/tests/cases/libs/model/datasources/dbo_source.test.php +++ b/cake/tests/cases/libs/model/datasources/dbo_source.test.php @@ -3395,14 +3395,14 @@ class DboSourceTest extends CakeTestCase { 'MyIndex' => array('column' => 'id', 'unique' => true) ); $result = $this->testDb->buildIndex($data); - $expected = array('UNIQUE KEY MyIndex (`id`)'); + $expected = array('UNIQUE KEY `MyIndex` (`id`)'); $this->assertEqual($result, $expected); $data = array( 'MyIndex' => array('column' => array('id', 'name'), 'unique' => true) ); $result = $this->testDb->buildIndex($data); - $expected = array('UNIQUE KEY MyIndex (`id`, `name`)'); + $expected = array('UNIQUE KEY `MyIndex` (`id`, `name`)'); $this->assertEqual($result, $expected); } /**