This commit is contained in:
邹宗楠
2021-12-06 17:52:28 +08:00
parent 5588ff21dd
commit 87251652e6
4 changed files with 60 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
package orderman
import (
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
"testing"
"time"
)
func TestSaveJdsOrders(t *testing.T) {
type args struct {
ctx *jxcontext.Context
orderCreatedStart time.Time
orderCreatedEnd time.Time
}
tests := []struct {
name string
args args
wantErr bool
}{
// TODO: Add test cases.
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if err := SaveJdsOrders(tt.args.ctx, tt.args.orderCreatedStart, tt.args.orderCreatedEnd); (err != nil) != tt.wantErr {
t.Errorf("SaveJdsOrders() error = %v, wantErr %v", err, tt.wantErr)
}
})
}
}