From 98bfdb0bf13c468263adf80f4577c2aa7ce404be Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Thu, 20 May 2021 18:49:30 +0700 Subject: [PATCH] Updated the tests file --- README.md | 4 ++-- .../kotlin/com/cubetiqs/example/TelegramExampleKotlinTests.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 12ab409..e9fd705 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ import org.junit.jupiter.api.Test import java.io.File class TelegramExampleKotlinTests { - private val token = TelegramConfig.POS_SYSTEM_ID - private val chatId = "-360594386" + private val token = TelegramConfig.getToken() + private val chatId = TelegramConfig.getReceiver() @Test fun sendMessage() { diff --git a/src/test/kotlin/com/cubetiqs/example/TelegramExampleKotlinTests.kt b/src/test/kotlin/com/cubetiqs/example/TelegramExampleKotlinTests.kt index 9abfdae..cf647b2 100644 --- a/src/test/kotlin/com/cubetiqs/example/TelegramExampleKotlinTests.kt +++ b/src/test/kotlin/com/cubetiqs/example/TelegramExampleKotlinTests.kt @@ -7,8 +7,8 @@ import org.junit.jupiter.api.Test import java.io.File class TelegramExampleKotlinTests { - private val token = TelegramConfig.POS_SYSTEM_ID - private val chatId = "-360594386" + private val token = TelegramConfig.getToken() + private val chatId = TelegramConfig.getReceiver() @Test fun sendMessage() {