merged branch bschussek/fix-tests (PR #7928)

This PR was merged into the master branch.

Discussion
----------

[Form] Fixed failing test

Commits
-------

a2df1cf [Form] Fixed failing test
This commit is contained in:
Fabien Potencier 2013-05-04 14:32:51 +02:00
commit 1df787662c

View File

@ -69,7 +69,7 @@ class CsrfValidationListenerTest extends \PHPUnit_Framework_TestCase
$data = "XP4HUzmHPi";
$event = new FormEvent($this->form, $data);
$validation = new CsrfValidationListener('csrf', $this->csrfProvider, 'unknown');
$validation = new CsrfValidationListener('csrf', $this->csrfProvider, 'unknown', 'Invalid.');
$validation->preSubmit($event);
// Validate accordingly