Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Form] Replace use of bind() with submit() in a test.
  • Loading branch information
jakzal committed Feb 26, 2015
1 parent 494e300 commit 5007b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Form/Tests/SimpleFormTest.php
Expand Up @@ -134,7 +134,7 @@ public function testFalseIsConvertedToNull()
$config->addEventListener(FormEvents::PRE_SUBMIT, array($mock, 'preSubmit'));
$form = new Form($config);

$form->bind(false);
$form->submit(false);

$this->assertTrue($form->isValid());
$this->assertNull($form->getData());
Expand Down

0 comments on commit 5007b41

Please sign in to comment.