Updated the tests file

This commit is contained in:
Sambo Chea 2021-05-20 18:49:30 +07:00
parent f682102fa6
commit 98bfdb0bf1
2 changed files with 4 additions and 4 deletions

View File

@ -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() {

View File

@ -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() {