- refactor test init flow

This commit is contained in:
gazebo
2019-03-20 22:28:51 +08:00
parent 120e0dde6c
commit 15c703b469
17 changed files with 76 additions and 129 deletions

View File

@@ -0,0 +1,16 @@
package dao
import (
"testing"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
)
func TestGetStoreDetail(t *testing.T) {
storeDetail, err := GetStoreDetailByVendorStoreID(GetDB(), "11733077", 0)
if err != nil {
t.Fatal(err)
}
globals.SugarLogger.Debug(utils.Format4Output(storeDetail, false))
}