- 活动调整,DeleteAct改名为CancelAct

This commit is contained in:
gazebo
2019-06-11 17:28:15 +08:00
parent d0df80ac1e
commit 208e52a669
11 changed files with 81 additions and 26 deletions

View File

@@ -53,6 +53,13 @@ func TestCreateAct(t *testing.T) {
globals.SugarLogger.Debug(actID)
}
func TestCancelAct(t *testing.T) {
err := CancelAct(jxcontext.AdminCtx, 1)
if err != nil {
t.Fatal(err)
}
}
func TestSyncAct(t *testing.T) {
err := SyncAct(jxcontext.AdminCtx, 1, nil, nil, nil)
if err != nil {