You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
415 B

package archive
import (
"testing"
arcwar "go-common/app/service/main/archive/api"
"github.com/smartystreets/goconvey/convey"
)
func TestArchivevalidView(t *testing.T) {
var (
vp = &arcwar.ViewReply{}
)
convey.Convey("validView", t, func(ctx convey.C) {
valid := validView(vp, true)
ctx.Convey("Then valid should not be nil.", func(ctx convey.C) {
ctx.So(valid, convey.ShouldNotBeNil)
})
})
}