notify_test.go 273 B

123456789101112131415
  1. package service
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestService_accNotify(t *testing.T) {
  8. Convey("should return err be nil", t, func() {
  9. err := s.accNotify(context.TODO(), 1, "updateMedal")
  10. So(err, ShouldBeNil)
  11. })
  12. }