16 lines
273 B
Go
16 lines
273 B
Go
|
package service
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"testing"
|
||
|
|
||
|
. "github.com/smartystreets/goconvey/convey"
|
||
|
)
|
||
|
|
||
|
func TestService_accNotify(t *testing.T) {
|
||
|
Convey("should return err be nil", t, func() {
|
||
|
err := s.accNotify(context.TODO(), 1, "updateMedal")
|
||
|
So(err, ShouldBeNil)
|
||
|
})
|
||
|
}
|