This commit is contained in:
gazebo
2018-09-23 23:35:33 +08:00
parent b936d3354b
commit 604f232e60
6 changed files with 108 additions and 28 deletions

View File

@@ -22,3 +22,11 @@ func TestUpdateStore(t *testing.T) {
t.Fatal(err.Error())
}
}
func TestCreateStore(t *testing.T) {
db := dao.GetDB()
_, err := new(PurchaseHandler).CreateStore(db, 1, "autotest")
if err != nil {
t.Fatal(err.Error())
}
}