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:
Keith Donald
2009-10-14 20:45:53 +00:00
parent abea416863
commit 2263ed07d7
4 changed files with 12 additions and 8 deletions
@@ -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");