add tests image.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
97227c749e
commit
8bd5e965e7
@ -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
BIN
tests/github.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
tests/gophercolor.png
Normal file
BIN
tests/gophercolor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
Loading…
Reference in New Issue
Block a user