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.
 
 
 

24 lines
479 B

package dao
import (
"context"
"testing"
"time"
. "github.com/smartystreets/goconvey/convey"
)
func Test_UpdateJuryExpired(t *testing.T) {
Convey("should return err be nil", t, func() {
err := d.UpdateJuryExpired(context.TODO(), 88889017, time.Now())
So(err, ShouldBeNil)
})
}
func Test_LoadConf(t *testing.T) {
Convey("should return err be nil & map be nil", t, func() {
m, err := d.LoadConf(context.TODO())
So(err, ShouldBeNil)
So(m, ShouldNotBeNil)
})
}