* Adjust expect.
This commit is contained in:
@@ -14,7 +14,7 @@ cid=1
|
||||
- 测试field的值第0条的field属性 @title
|
||||
- 测试operator的值第0条的operator属性 @include
|
||||
- 测试value的值第0条的value属性 @test
|
||||
- 测试生成的查询sql的值 @(( 1 AND `title` LIKE '%test%' ) AND ( 1 ))
|
||||
- 测试生成的查询sql的值 @(( 1 AND `title` LIKE '%test%' ) AND ( 1 ))
|
||||
|
||||
*/
|
||||
|
||||
@@ -45,4 +45,4 @@ $search = new searchTest();
|
||||
r($search->buildQueryTest($searchConfig, $postDatas, $returnList[0])) && p('0:field') && e('title'); //测试field的值
|
||||
r($search->buildQueryTest($searchConfig, $postDatas, $returnList[0])) && p('0:operator') && e('include'); //测试operator的值
|
||||
r($search->buildQueryTest($searchConfig, $postDatas, $returnList[0])) && p('0:value') && e('test'); //测试value的值
|
||||
r($search->buildQueryTest($searchConfig, $postDatas, $returnList[1])) && p() && e("(( 1 AND `title` LIKE '%test%' ) AND ( 1 ))"); //测试生成的查询sql的值
|
||||
r($search->buildQueryTest($searchConfig, $postDatas, $returnList[1])) && p() && e("(( 1 AND `title` LIKE '%test%' ) AND ( 1 ))"); //测试生成的查询sql的值
|
||||
Reference in New Issue
Block a user