go-common/app/interface/main/dm2/dao/bfs_test.go

22 lines
390 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDaoUploadBfs(t *testing.T) {
convey.Convey("UploadBfs", t, func(ctx convey.C) {
var (
c = context.Background()
fileName = ""
bs = []byte("123")
)
ctx.Convey("When everything gose positive", func(ctx convey.C) {
testDao.UploadBfs(c, fileName, bs)
})
})
}