Skip to content

Commit

Permalink
update failling test
Browse files Browse the repository at this point in the history
  • Loading branch information
antograssiot committed Dec 5, 2014
1 parent 05f4ab9 commit 13bdebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/View/Helper/FormHelperTest.php
Expand Up @@ -2170,7 +2170,7 @@ public function testInputCustomization() {
);
$this->assertHtml($expected, $result);

$entity->errors('field', ['minLength']);
$entity->errors('field', ['minLength'], true);
$result = $this->Form->input('field', array(
'error' => array(
'minLength' => 'Le login doit contenir au moins 2 caractères',
Expand All @@ -2190,7 +2190,7 @@ public function testInputCustomization() {
);
$this->assertHtml($expected, $result);

$entity->errors('field', ['maxLength']);
$entity->errors('field', ['maxLength'], true);
$result = $this->Form->input('field', array(
'error' => array(
'minLength' => 'Le login doit contenir au moins 2 caractères',
Expand Down

0 comments on commit 13bdebb

Please sign in to comment.