go-common/app/interface/main/tv/dao/cms/db_operate_test.go
2019-04-22 18:49:16 +08:00

22 lines
387 B
Go

package cms
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestCmsUnshelveArcs(t *testing.T) {
var (
c = context.Background()
ids = []int64{123}
)
convey.Convey("UnshelveArcs", t, func(ctx convey.C) {
err := d.UnshelveArcs(c, ids)
ctx.Convey("Then err should be nil.", func(ctx convey.C) {
ctx.So(err, convey.ShouldBeNil)
})
})
}