Corrected SendVoiceTest

This commit is contained in:
netkas 2024-10-09 15:17:22 -04:00
parent 0fec9211af
commit b58943c7c2

View file

@ -59,7 +59,7 @@ class SendVoiceTest extends TestCase
$result = self::$bot->sendVoice( $result = self::$bot->sendVoice(
chat_id: TEST_CHAT_ID, chat_id: TEST_CHAT_ID,
voice: 'https://example.com/voice.ogg', voice: __DIR__ . DIRECTORY_SEPARATOR . 'sample' . DIRECTORY_SEPARATOR . 'ted.ogg',
caption: 'This is a test', caption: 'This is a test',
caption_entities: $captionEntities caption_entities: $captionEntities
); );