You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
562 B

package income
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_TxUpAccountBreach(t *testing.T) {
Convey("TxUpAccountBreach", t, WithService(func(s *Service) {
tx, _ := s.dao.BeginTran(context.Background())
err := s.TxUpAccountBreach(context.Background(), tx, 11, -1, 1)
So(err, ShouldNotBeNil)
}))
Convey("TxUpAccountBreach", t, WithService(func(s *Service) {
tx, _ := s.dao.BeginTran(context.Background())
err := s.TxUpAccountBreach(context.Background(), tx, 11, 1, -1)
So(err, ShouldNotBeNil)
}))
}