fixed failing tests

This commit is contained in:
Keith Donald
2009-10-14 20:45:53 +00:00
parent 728a1415d9
commit dc076ee6fe
4 changed files with 12 additions and 8 deletions

View File

@@ -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");