diff --git a/extensions/wikidata/tests/src/org/openrefine/wikidata/schema/WbDateConstantTest.java b/extensions/wikidata/tests/src/org/openrefine/wikidata/schema/WbDateConstantTest.java index 64e8c610c..d87ec4ba4 100644 --- a/extensions/wikidata/tests/src/org/openrefine/wikidata/schema/WbDateConstantTest.java +++ b/extensions/wikidata/tests/src/org/openrefine/wikidata/schema/WbDateConstantTest.java @@ -94,8 +94,8 @@ public class WbDateConstantTest extends WbExpressionTest { Calendar calendar = Calendar.getInstance(); TimeValue expectedDate = Datamodel.makeTimeValue( calendar.get(Calendar.YEAR), - (byte)calendar.get(Calendar.MONTH), - (byte)(calendar.get(Calendar.DAY_OF_MONTH)+1), + (byte)(calendar.get(Calendar.MONTH)+1), + (byte)calendar.get(Calendar.DAY_OF_MONTH), (byte)0, (byte)0, (byte)0, (byte)11, 0,0,0, TimeValue.CM_GREGORIAN_PRO); evaluatesTo(expectedDate, new WbDateConstant("TODAY")); }