1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- package dao
- import (
- "context"
- "testing"
- "time"
- "github.com/smartystreets/goconvey/convey"
- )
- func TestDaoTryLockReviewNotify(t *testing.T) {
- convey.Convey("TryLockReviewNotify", t, func() {
- now := time.Now()
- no := time.Date(2018, 1, 7, 20, now.Minute(), now.Second(), 651387237, time.UTC)
- p1, err := d.TryLockReviewNotify(context.Background(), no)
- convey.So(err, convey.ShouldBeNil)
- convey.So(p1, convey.ShouldNotBeNil)
- })
- }
|