reason_log_test.go 328 B

123456789101112131415
  1. package manager
  2. import (
  3. "context"
  4. "github.com/smartystreets/goconvey/convey"
  5. "testing"
  6. "time"
  7. )
  8. func Test_AddReasonLog(t *testing.T) {
  9. convey.Convey("AddReasonLog", t, WithDao(func(d *Dao) {
  10. _, err := d.AddReasonLog(context.TODO(), 0, 0, 0, 0, 0, 0, time.Now(), time.Now())
  11. convey.So(err, convey.ShouldBeNil)
  12. }))
  13. }