watermark_test.go 302 B

123456789101112131415
  1. package archive
  2. import (
  3. "context"
  4. "github.com/smartystreets/goconvey/convey"
  5. "testing"
  6. )
  7. func TestDao_Watermark(t *testing.T) {
  8. convey.Convey("水印", t, WithDao(func(d *Dao) {
  9. m, err := d.Watermark(context.TODO(), 1)
  10. convey.So(err, convey.ShouldBeNil)
  11. t.Logf("watermark(%+v)", m)
  12. }))
  13. }