From 3cae03c4d348bec87fd43601f4bb52c552cfe67a Mon Sep 17 00:00:00 2001 From: oneRain Date: Tue, 3 Mar 2020 15:53:18 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=A2=9E=E5=8A=A0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=89=8B=E5=8A=A8=E6=B5=8B=E8=AF=95=E9=83=A8=E5=88=86=EF=BC=8C?= =?UTF-8?q?=E5=8C=85=E6=8B=AC=E9=82=AE=E4=BB=B6=EF=BC=8C=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Storage/Storage.Test/UserTest.cs | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/Storage/Storage.Test/UserTest.cs b/Storage/Storage.Test/UserTest.cs index c24f994..2af6dc3 100644 --- a/Storage/Storage.Test/UserTest.cs +++ b/Storage/Storage.Test/UserTest.cs @@ -183,5 +183,49 @@ namespace LeanCloud.Test { string unionId = Guid.NewGuid().ToString(); await currentUser.AssociateAuthDataAndUnionId(authData, "qq", unionId); } + + // 手动测试 + + //[Test] + //public async Task LoginByMobile() { + // LCUser user = await LCUser.LoginByMobilePhoneNumber("15101006007", "112358"); + // Assert.NotNull(user.ObjectId); + //} + + //[Test] + //public async Task RequestLoginSMSCode() { + // await LCUser.RequestLoginSMSCode("15101006007"); + //} + + //[Test] + //public async Task LoginBySMSCode() { + // LCUser user = await LCUser.LoginBySMSCode("15101006007", "194998"); + // Assert.NotNull(user.ObjectId); + //} + + //[Test] + //public async Task RequestEmailVerify() { + // await LCUser.RequestEmailVerify("171253484@qq.com"); + //} + + //[Test] + //public async Task RequestMobileVerify() { + // await LCUser.RequestMobilePhoneVerify("15101006007"); + //} + + //[Test] + //public async Task VerifyMobile() { + // await LCUser.VerifyMobilePhone("15101006007", "506993"); + //} + + //[Test] + //public async Task RequestResetPasswordBySMSCode() { + // await LCUser.RequestPasswordRestBySmsCode("15101006007"); + //} + + //[Test] + //public async Task ResetPasswordBySMSCode() { + // await LCUser.ResetPasswordBySmsCode("15101006007", "732552", "112358"); + //} } }