diff --git a/src/test/kotlin/me/alllex/tbot/api/client/TelegramBotApiClientTest.kt b/src/test/kotlin/me/alllex/tbot/api/client/TelegramBotApiClientTest.kt index ed97a53..7a7ea7a 100644 --- a/src/test/kotlin/me/alllex/tbot/api/client/TelegramBotApiClientTest.kt +++ b/src/test/kotlin/me/alllex/tbot/api/client/TelegramBotApiClientTest.kt @@ -115,7 +115,7 @@ class TelegramBotApiClientTest { updateId = 8000, message = Message( messageId = MessageId(1000), - date = 2023, + date = UnixTimestamp(2023), chat = Chat( id = ChatId(1), type = "private", @@ -188,7 +188,7 @@ class TelegramBotApiClientTest { ok = true, result = Message( messageId = MessageId(1000), - date = 2023, + date = UnixTimestamp(2023), chat = Chat( id = ChatId(1), type = "private", diff --git a/src/test/kotlin/me/alllex/tbot/api/client/TelegramBotApiPollerTest.kt b/src/test/kotlin/me/alllex/tbot/api/client/TelegramBotApiPollerTest.kt index 3aea235..7e3769a 100644 --- a/src/test/kotlin/me/alllex/tbot/api/client/TelegramBotApiPollerTest.kt +++ b/src/test/kotlin/me/alllex/tbot/api/client/TelegramBotApiPollerTest.kt @@ -54,7 +54,7 @@ class TelegramBotApiPollerTest { updateId = 8000, message = Message( messageId = MessageId(1000), - date = 2023, + date = UnixTimestamp(2023), chat = Chat(id = ChatId(1), type = "private"), text = "Message 1" )