mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06: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()
|
|
}
|
|
}
|
|
|
|
|