add tests image.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-10-07 14:41:44 +08:00
parent 97227c749e
commit 8bd5e965e7
3 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func TestSendMessage(t *testing.T) {
Token: os.Getenv("TELEGRAM_TOKEN"), Token: os.Getenv("TELEGRAM_TOKEN"),
To: []string{os.Getenv("TELEGRAM_TO"), "中文ID", "1234567890"}, To: []string{os.Getenv("TELEGRAM_TO"), "中文ID", "1234567890"},
Message: []string{"Test Telegram Chat Bot From Travis or Local", " "}, Message: []string{"Test Telegram Chat Bot From Travis or Local", " "},
Photo: []string{"tests/gophercolor.png", "1234", " "}, Photo: []string{"tests/github.png", "1234", " "},
Debug: false, Debug: false,
}, },
} }

BIN
tests/github.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
tests/gophercolor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB