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.
18 lines
394 B
18 lines
394 B
package dao |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestDao_DelImage(t *testing.T) { |
|
Convey("DelImage", t, func() { |
|
Convey("when not exist, err should not nil", func() { |
|
// FIXME : 该UT不可重入 |
|
err := d.DelImage(context.Background(), "130d0e4aa718fcab4abd3ad756ef57017e42bcf4.png", d.c.FaceBFS) |
|
So(err, ShouldNotBeNil) |
|
}) |
|
}) |
|
}
|
|
|