Modified test to use accented characters.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7345 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-07-17 17:14:28 +00:00
parent 993bee59fa
commit c19e7ff3da

View file

@ -1383,7 +1383,7 @@ class FormHelperTest extends CakeTestCase {
$this->Form->validationErrors['Model']['field'] = 'minLength';
$result = $this->Form->input('Model.field', array('error' => array('minLength' => __('too short', true))));
$result = $this->Form->input('Model.field', array('error' => array('minLength' => __('Le login doit contenir au moins 2 caractères', true))));
$expected = array(
'div' => array('class' => 'input text error'),
'label' => array('for' => 'ModelField'),
@ -1391,7 +1391,7 @@ class FormHelperTest extends CakeTestCase {
'/label',
'input' => array('type' => 'text', 'name' => 'data[Model][field]', 'value' => '', 'id' => 'ModelField', 'class' => 'form-error'),
array('div' => array('class' => 'error-message')),
'too short',
'Le login doit contenir au moins 2 caractères',
'/div',
'/div'
);