mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 22:59:03 +00:00
fixed failing tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2117 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+2
-1
@@ -343,7 +343,8 @@ public class DataBinderTests extends TestCase {
|
||||
|
||||
private void doTestBindingWithDefaultFormatter(Object tb) {
|
||||
DataBinder binder = new DataBinder(tb);
|
||||
binder.setFormatterRegistry(new GenericFormatterRegistry());
|
||||
// force formatter registry to be created
|
||||
binder.getFormatterRegistry();
|
||||
MutablePropertyValues pvs = new MutablePropertyValues();
|
||||
pvs.addPropertyValue("number", "1,2");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user