go-common/app/admin/main/aegis/dao/http/resource_test.go

20 lines
337 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package http
import (
"context"
"testing"
"go-common/app/admin/main/aegis/model"
"github.com/smartystreets/goconvey/convey"
)
func TestSyncResource(t *testing.T) {
var (
c = context.TODO()
)
convey.Convey("SyncResource", t, func(ctx convey.C) {
d.SyncResource(c, &model.Action{}, map[string]interface{}{"state": 1})
})
}