bfs_test.go 390 B

123456789101112131415161718192021
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestDaoUploadBfs(t *testing.T) {
  8. convey.Convey("UploadBfs", t, func(ctx convey.C) {
  9. var (
  10. c = context.Background()
  11. fileName = ""
  12. bs = []byte("123")
  13. )
  14. ctx.Convey("When everything gose positive", func(ctx convey.C) {
  15. testDao.UploadBfs(c, fileName, bs)
  16. })
  17. })
  18. }