Skip to content

Commit 14f9397

Browse files
committed
Fix test.
1 parent b2af708 commit 14f9397

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exts/jphp-zend-ext/src/main/tests/org/develnext/jphp/zend/ext/standard/date/DateFormatTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ public void monthAndDay() {
6464
Pair.of("M d", "December 30"),
6565
Pair.of("M d", "dec 30")
6666
)
67-
.map(pair -> create(pair.getA(), pair.getB()))
67+
.map(pair -> create(pair.getA(), pair.getB(), now))
6868
.forEach(dateTime -> assertThat(dateTime)
6969
.isEqualToIgnoringNanos(now.withMonth(12).withDayOfMonth(30)));
7070

71-
assertThat(create("M d", "April 31"))
71+
assertThat(create("M d", "April 31", now))
7272
.isEqualToIgnoringNanos(now.withMonth(5).withDayOfMonth(1));
7373
}
7474

0 commit comments

Comments
 (0)