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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user