aa
This commit is contained in:
26
business/partner/purchase/jdshop/callback_test.go
Normal file
26
business/partner/purchase/jdshop/callback_test.go
Normal file
@@ -0,0 +1,26 @@
|
||||
package jdshop
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi/platformapi/jdshopapi"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestSaveJdsOrders(t *testing.T) {
|
||||
type args struct {
|
||||
msg *jdshopapi.CallBackResult
|
||||
}
|
||||
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.msg); (err != nil) != tt.wantErr {
|
||||
t.Errorf("SaveJdsOrders() error = %v, wantErr %v", err, tt.wantErr)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user