go-common/app/job/main/videoup/service/service_test.go

20 lines
296 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package service
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_Ping(t *testing.T) {
var err error
var c = context.Background()
Convey("test archive video", t, func() {
if err = s.Ping(c); err != nil {
t.Fail()
}
So(err, ShouldBeNil)
})
}