Corrected SendVoiceTest
This commit is contained in:
parent
0fec9211af
commit
b58943c7c2
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class SendVoiceTest extends TestCase
|
|||
|
||||
$result = self::$bot->sendVoice(
|
||||
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_entities: $captionEntities
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue