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:
commit
1df787662c
@ -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