mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
fixed failing tests
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