Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1df7876

Browse files
committed
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
2 parents a7608d9 + a2df1cf commit 1df7876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Tests/Extension/Csrf/EventListener/CsrfValidationListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function testStringFormData()
6969
$data = "XP4HUzmHPi";
7070
$event = new FormEvent($this->form, $data);
7171

72-
$validation = new CsrfValidationListener('csrf', $this->csrfProvider, 'unknown');
72+
$validation = new CsrfValidationListener('csrf', $this->csrfProvider, 'unknown', 'Invalid.');
7373
$validation->preSubmit($event);
7474

7575
// Validate accordingly

0 commit comments

Comments
 (0)