- mtwm
This commit is contained in:
24
business/partner/purchase/mtwm/store_test.go
Normal file
24
business/partner/purchase/mtwm/store_test.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package mtwm
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
// _ "git.rosy.net.cn/jx-callback/business/jxcallback/orderman"
|
||||
)
|
||||
|
||||
func TestReadStore(t *testing.T) {
|
||||
store, err := new(PurchaseHandler).ReadStore("4351018")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(store, false))
|
||||
}
|
||||
|
||||
func TestUpdateStore(t *testing.T) {
|
||||
store, err := new(PurchaseHandler).UpdateStore("4351018")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(store, false))
|
||||
}
|
||||
Reference in New Issue
Block a user