Skip to content

Commit 7e46c79

Browse files
[Form] fix deprecated use
1 parent b05fce2 commit 7e46c79

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,6 @@ protected static function getBundleDefaultConfig()
164164
'magic_call' => false,
165165
'throw_exception_on_invalid_index' => false,
166166
),
167-
'assets' => array(
168-
'version' => null,
169-
'version_format' => '%%s?%%s',
170-
'base_path' => '',
171-
'base_urls' => array(),
172-
'packages' => array(),
173-
),
174167
);
175168
}
176169
}

src/Symfony/Component/Form/Tests/SimpleFormTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function testFalseIsConvertedToNull()
134134
$config->addEventListener(FormEvents::PRE_SUBMIT, array($mock, 'preSubmit'));
135135
$form = new Form($config);
136136

137-
$form->bind(false);
137+
$form->submit(false);
138138

139139
$this->assertTrue($form->isValid());
140140
$this->assertNull($form->getData());

0 commit comments

Comments
 (0)