This commit is contained in:
euromark 2013-08-03 03:02:52 +02:00
parent b3860b3992
commit 6c1e60953b
2 changed files with 3 additions and 3 deletions

View file

@ -986,7 +986,7 @@ class MysqlTest extends CakeTestCase {
'primary_flag_has_index' => array(
'id' => array('type' => 'integer', 'null' => false, 'key' => 'primary'),
'data' => array('type' => 'integer', 'null' => false),
'indexes' => array (
'indexes' => array(
'some_index' => array('column' => 'data', 'unique' => 1)
),
)

View file

@ -6536,7 +6536,7 @@ class ModelWriteTest extends BaseModelTest {
'order' => 'Post.id ASC',
));
$expected = array(
'Post' => array (
'Post' => array(
'id' => '4',
'author_id' => '5',
'title' => 'Post without body',
@ -6545,7 +6545,7 @@ class ModelWriteTest extends BaseModelTest {
'created' => self::date(),
'updated' => self::date(),
),
'Author' => array (
'Author' => array(
'id' => '5',
'user' => 'bob',
'password' => null,