public async Task VerifyOtpTest() { var service = new VericallOtpService { Authentication = _textFixture.Authentication }; await service.VerifyOtp("ENTER-OTP-ID-FROM-SENDOTP", "ENTER-PHONE-NUMBER-FROM-SENDOTP"); }
public async Task SendOtpTest() { var service = new VericallOtpService { Authentication = _textFixture.Authentication }; var body = new VericallOtpRequestBody { MaxAttempt = 3, Duration = 10000, Length = 4, User = "******" }; var result = await service.SendOtp("ENTER-RANDOM-OTP-ID", body); Assert.NotNull(result); }