1
0
mirror of https://github.com/XFox111/SimpleOTP.git synced 2026-04-22 08:00:45 +03:00

Updated validation methods signatures (#13)

Improved code coverage results
This commit is contained in:
2021-05-30 18:12:45 +03:00
committed by GitHub
parent f669201554
commit f866fb2c80
6 changed files with 38 additions and 28 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ namespace SimpleOTP.Test
OTPConfiguration config = OTPConfiguration.GetConfiguration("ESQVTYRM2CWZC3NX24GRRWIAUUWVHWQH", "FoxDev Studio", "eugene@xfox111.net");
config.Period = TimeSpan.FromSeconds(3);
using OTPFactory factory = new (config, 1500);
System.Diagnostics.Debug.WriteLine(factory.Configuration);
var testGetConfig = factory.Configuration;
System.Diagnostics.Debug.WriteLine(testGetConfig);
var code = factory.CurrentCode;
factory.Configuration = config;