Переглянути джерело

手机号登录,验证码正确性校验用例修改

jo 1 рік тому
батько
коміт
9423123355

+ 3 - 1
AllSuite/ClientSuite/PersonalInformationSuite/CommonLoginAsync.robot

@@ -1,5 +1,6 @@
 *** Settings ***
 Resource          ../../../AllApi/ClientAPI/PersonalInformationApi/CommonLoginAsync.robot
+Resource          ../../../AllApi/ClientAPI/PersonalInformationApi/SendSMSVerificationCodeAsync.robot
 Library           Collections
 
 *** Variables ***
@@ -60,7 +61,8 @@ Exception_004_邮箱登录,密码正确性校验
     Should Be Equal As Numbers    ${loginState}    1
 
 Exception_005_手机号登录,验证码正确性校验
-    ${res}    CommonLoginAsyncPost    18862108573    78963    ${EMPTY}    ${0}    ${0}
+    ${result}    SendSMSVerificationCodeAsyncPost    18862108573
+    ${res}    CommonLoginAsyncPost    18862108573    11111    ${EMPTY}    ${0}    ${0}
     ${flag}    Result Analysis    ${res}    false    ${6034}    VerificationCode is illegality
     Should Be True    ${flag}