Files

19 lines
354 B
Go
Raw Permalink Normal View History

2019-04-22 20:46:32 +08:00
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)
})
}