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.
 
 
 

18 lines
354 B

package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDaoInstance(t *testing.T) {
convey.Convey("Instance", t, func() {
var appName = "main.app-svr.app-view"
ins, err := d.Instances(context.Background(), appName)
convey.So(err, convey.ShouldBeNil)
convey.So(ins, convey.ShouldNotEqual, nil)
})
}