- fix bug in UpdateStore(GetRows)

This commit is contained in:
gazebo
2018-10-26 20:09:56 +08:00
parent f12cfafe23
commit 0397729aa0
6 changed files with 29 additions and 19 deletions

View File

@@ -17,7 +17,7 @@ func TestReadStore(t *testing.T) {
func TestUpdateStore(t *testing.T) {
db := dao.GetDB()
err := new(PurchaseHandler).UpdateStore(db, 100077, "autotest")
err := new(PurchaseHandler).UpdateStore(db, testShopID, "autotest")
if err != nil {
t.Fatal(err.Error())
}