Permalink
Browse files

Fix additional tests.

Schema data has length/precision separated now.
  • Loading branch information...
1 parent 1a9b989 commit 8dc9715494a36dbe58ff242d105c9fed495fcd4e @markstory markstory committed Feb 28, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/TestCase/View/Helper/FormHelperTest.php
@@ -324,10 +324,10 @@ class ValidateUsersTable extends Table {
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
'email' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
- 'balance' => array('type' => 'float', 'null' => false, 'length' => '5,2'),
- 'cost_decimal' => array('type' => 'decimal', 'null' => false, 'length' => '6,3'),
- 'ratio' => array('type' => 'decimal', 'null' => false, 'length' => '10,6'),
- 'population' => array('type' => 'decimal', 'null' => false, 'length' => '15,0'),
+ 'balance' => array('type' => 'float', 'null' => false, 'length' => 5, 'precision' => 2),
+ 'cost_decimal' => array('type' => 'decimal', 'null' => false, 'length' => 6, 'precision' => 3),
+ 'ratio' => array('type' => 'decimal', 'null' => false, 'length' => 10, 'precision' => 6),
+ 'population' => array('type' => 'decimal', 'null' => false, 'length' => 15, 'precision' => 0),
'created' => array('type' => 'date', 'null' => '1', 'default' => '', 'length' => ''),
'updated' => array('type' => 'datetime', 'null' => '1', 'default' => '', 'length' => null),
'_constraints' => array('primary' => ['type' => 'primary', 'columns' => ['id']])

0 comments on commit 8dc9715

Please sign in to comment.