CI:TestProcessSearch debug

This commit is contained in:
Max 2021-10-07 19:02:10 +08:00
parent 441a9124e3
commit e1aa1f25d2

View file

@ -7,6 +7,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/yaoapp/gou"
"github.com/yaoapp/kun/any"
"github.com/yaoapp/kun/utils"
"github.com/yaoapp/xiang/config"
"github.com/yaoapp/xiang/table"
"github.com/yaoapp/xun/capsule"
)
@ -19,6 +21,12 @@ func TestProcessPing(t *testing.T) {
}
func TestProcessSearch(t *testing.T) {
// Debug
utils.Dump(config.Conf)
sch := capsule.Schema()
utils.Dump(sch.MustGetTables())
args := []interface{}{
"service",
gou.QueryParam{