Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
gwoo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/tests/cases/libs/model/datasources/dbo_source.test.php
4 cake/tests/cases/libs/model/datasources/dbo_source.test.php
View
@@ -3395,14 +3395,14 @@ function testBuildIndex() {
'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);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.