[Form] Fixed failing test

This commit is contained in:
Bernhard Schussek 2013-05-04 13:21:24 +02:00
parent a7608d9115
commit a2df1cfce3

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