go-common/app/job/main/dm/dao/subject_test.go

18 lines
311 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package dao
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
// TestSubject d.Subject() unit test.
func TestSubject(t *testing.T) {
Convey("test dao.Subject", t, func() {
s, err := testDao.Subject(context.TODO(), 1, 1221)
So(err, ShouldBeNil)
So(s, ShouldNotBeNil)
})
}