CI:TestProcessSearch debug
This commit is contained in:
parent
441a9124e3
commit
e1aa1f25d2
1 changed files with 8 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ import (
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/yaoapp/gou"
|
"github.com/yaoapp/gou"
|
||||||
"github.com/yaoapp/kun/any"
|
"github.com/yaoapp/kun/any"
|
||||||
|
"github.com/yaoapp/kun/utils"
|
||||||
|
"github.com/yaoapp/xiang/config"
|
||||||
"github.com/yaoapp/xiang/table"
|
"github.com/yaoapp/xiang/table"
|
||||||
"github.com/yaoapp/xun/capsule"
|
"github.com/yaoapp/xun/capsule"
|
||||||
)
|
)
|
||||||
|
|
@ -19,6 +21,12 @@ func TestProcessPing(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestProcessSearch(t *testing.T) {
|
func TestProcessSearch(t *testing.T) {
|
||||||
|
|
||||||
|
// Debug
|
||||||
|
utils.Dump(config.Conf)
|
||||||
|
sch := capsule.Schema()
|
||||||
|
utils.Dump(sch.MustGetTables())
|
||||||
|
|
||||||
args := []interface{}{
|
args := []interface{}{
|
||||||
"service",
|
"service",
|
||||||
gou.QueryParam{
|
gou.QueryParam{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue