bilibili-backup/app/service/main/workflow/service/business_test.go
2019-04-22 02:59:20 +00:00

23 lines
470 B
Go

package service
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestUpBusinessExtra(t *testing.T) {
convey.Convey("Test UpBusinessExtra", t, func() {
err := s.UpBusinessExtra(context.Background(), 1, 1, 1, "", "")
convey.ShouldBeNil(err)
})
}
func TestBusinessExtra(t *testing.T) {
convey.Convey("Test TestBusinessExtra", t, func() {
_, err := s.BusinessExtra(context.Background(), 1, 1, 1)
convey.ShouldBeNil(err)
})
}