Skip to content

Commit 1a41303

Browse files
update getLocalDateNow test
1 parent 031c94e commit 1a41303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/kotlin/com/cosmotech/api/utils/RedisUtilsTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ class RedisUtilsTests {
4949
@Test
5050
fun `getDateNow - should check time pattern`() {
5151
val formatter = DateTimeFormatter.ofPattern("yyyy/MM/dd")
52-
assertEquals(LocalDate.now().format(formatter), getDateNow("yyyy/MM/dd"))
52+
assertEquals(LocalDate.now().format(formatter), getLocalDateNow(("yyyy/MM/dd")))
5353
}
5454
}

0 commit comments

Comments
 (0)