av_breach_test.go 382 B

12345678910111213141516171819
  1. package income
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func Test_ArchiveBreach(t *testing.T) {
  8. Convey("ArchiveBreach", t, WithService(func(s *Service) {
  9. avID := []int64{}
  10. mid := int64(1)
  11. reason := "test"
  12. operator := "szy"
  13. err := s.ArchiveBreach(context.Background(), 0, avID, mid, reason, operator)
  14. So(err, ShouldBeNil)
  15. }))
  16. }