fixed failing test

This commit is contained in:
Keith Donald
2008-07-10 08:43:24 +00:00
parent 7ce9759804
commit d937231353
3 changed files with 17 additions and 10 deletions

View File

@@ -160,12 +160,4 @@ public class OgnlExpressionParserTests extends TestCase {
Expression e = parser.parseExpression(exp, null);
assertEquals(boolean.class, e.getValueType(bean));
}
public void testSetComplexDateType() {
String value = "2008-07-04";
Expression e = parser.parseExpression("date", null);
e.setValue(bean, value);
assertEquals(1215144000000L, bean.getDate().getTime());
}
}