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.
17 lines
311 B
17 lines
311 B
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) |
|
}) |
|
}
|
|
|