From a2df1cfce360e569e0cd1ad01e95c4b424d2a162 Mon Sep 17 00:00:00 2001 From: Bernhard Schussek Date: Sat, 4 May 2013 13:21:24 +0200 Subject: [PATCH] [Form] Fixed failing test --- .../Extension/Csrf/EventListener/CsrfValidationListenerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Form/Tests/Extension/Csrf/EventListener/CsrfValidationListenerTest.php b/src/Symfony/Component/Form/Tests/Extension/Csrf/EventListener/CsrfValidationListenerTest.php index 33184c029d..0bcfe74e99 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Csrf/EventListener/CsrfValidationListenerTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Csrf/EventListener/CsrfValidationListenerTest.php @@ -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