Fixed Some CSIT Failure 01/60701/1
authorGuangrongFu <fu.guangrong@zte.com.cn>
Wed, 15 Aug 2018 08:53:54 +0000 (16:53 +0800)
committerGuangrongFu <fu.guangrong@zte.com.cn>
Wed, 15 Aug 2018 08:53:54 +0000 (16:53 +0800)
Fixed 2 failures caused by the change of the functionality code.
Issue-ID: HOLMES-158

Change-Id: Ideb5184eb19d506109994199e3d5343c51a5cbcb
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
test/csit/tests/holmes/testcase/RuleMgt/Rule-Mgt.robot

index 9ec6585..55e57ec 100644 (file)
@@ -39,7 +39,7 @@ query_rule_with_existing_id
 
 query_rule_with_non_existing_id
     [Documentation]    Query a rule with a non-existing ID.
-    ${response}    queryConditionRule    {"ruleid":"invalidid"}
+    ${response}    queryConditionRule    {"ruleId":"invalidid"}
     ${respJson}    to json    ${response.content}
     ${count}    get from dictionary    ${respJson}    totalCount
     run keyword if    ${count}!=0    fail
@@ -53,7 +53,7 @@ query_rule_with_partial_existing_name
 
 query_rule_with_partial_non_existing_name
     [Documentation]    Query rules with (a part of) a non-existing name.
-    ${response}    queryConditionRule    {"rulename":"zte2017"}
+    ${response}    queryConditionRule    {"ruleName":"zte2017"}
     ${respJson}    to json    ${response.content}
     ${count}    get from dictionary    ${respJson}    totalCount
     run keyword if    ${count}!=0    fail