mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-28 12:57:38 +00:00
Changed to sendDocument on test 'should send a document from id'
This commit is contained in:
parent
f30393401e
commit
3ed643fd24
@ -221,7 +221,7 @@ describe('Telegram', function () {
|
||||
var bot = new Telegram(TOKEN);
|
||||
// Send the same photo as before
|
||||
var document = documentId;
|
||||
bot.sendPhoto(USERID, document).then(function (resp) {
|
||||
bot.sendDocument(USERID, document).then(function (resp) {
|
||||
resp.should.be.an.instanceOf(Object);
|
||||
done();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user