[Form] Fixed failing test
This commit is contained in:
parent
a7608d9115
commit
a2df1cfce3
@ -69,7 +69,7 @@ class CsrfValidationListenerTest extends \PHPUnit_Framework_TestCase
|
|||||||
$data = "XP4HUzmHPi";
|
$data = "XP4HUzmHPi";
|
||||||
$event = new FormEvent($this->form, $data);
|
$event = new FormEvent($this->form, $data);
|
||||||
|
|
||||||
$validation = new CsrfValidationListener('csrf', $this->csrfProvider, 'unknown');
|
$validation = new CsrfValidationListener('csrf', $this->csrfProvider, 'unknown', 'Invalid.');
|
||||||
$validation->preSubmit($event);
|
$validation->preSubmit($event);
|
||||||
|
|
||||||
// Validate accordingly
|
// Validate accordingly
|
||||||
|
Reference in New Issue
Block a user