go-common/app/interface/main/app-view/dao/archive/api_test.go

22 lines
376 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package archive
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestRelateAids(t *testing.T) {
var (
c = context.TODO()
aid = int64(1)
)
convey.Convey("Ping", t, func(ctx convey.C) {
_, err := d.RelateAids(c, aid)
ctx.Convey("Then err should not be nil.", func(ctx convey.C) {
ctx.So(err, convey.ShouldNotBeNil)
})
})
}