mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
19 lines
200 B
Go
19 lines
200 B
Go
package api4
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestGetPing(t *testing.T) {
|
|
th := Setup().InitBasic()
|
|
defer TearDown()
|
|
Client := th.Client
|
|
|
|
b, _ := Client.GetPing()
|
|
if b == false {
|
|
t.Fatal()
|
|
}
|
|
}
|
|
|
|
|