diff options
author | Christoph Enzmann <christoph.enzmann@confer.ch> | 2013-12-05 13:01:46 +0100 |
---|---|---|
committer | Christoph Enzmann <christoph.enzmann@confer.ch> | 2013-12-05 13:01:46 +0100 |
commit | 0795b5d4083d9ad2cd5dfbcb5c12277f350485b2 (patch) | |
tree | 1a1878b94fc39a96eb37af291eda1796fbb627a5 /TwoStepsAuthenticator.UnitTests/TimeAuthenticatorTests.cs | |
parent | b52682a9b3216a7d966238e3c8ed6b4da3920313 (diff) | |
download | TwoStepsAuthenticator-0795b5d4083d9ad2cd5dfbcb5c12277f350485b2.zip TwoStepsAuthenticator-0795b5d4083d9ad2cd5dfbcb5c12277f350485b2.tar.gz TwoStepsAuthenticator-0795b5d4083d9ad2cd5dfbcb5c12277f350485b2.tar.bz2 |
GenerateKey now static, Update README.md
Diffstat (limited to 'TwoStepsAuthenticator.UnitTests/TimeAuthenticatorTests.cs')
-rw-r--r-- | TwoStepsAuthenticator.UnitTests/TimeAuthenticatorTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TwoStepsAuthenticator.UnitTests/TimeAuthenticatorTests.cs b/TwoStepsAuthenticator.UnitTests/TimeAuthenticatorTests.cs index 1f8c9ab..3d19ea2 100644 --- a/TwoStepsAuthenticator.UnitTests/TimeAuthenticatorTests.cs +++ b/TwoStepsAuthenticator.UnitTests/TimeAuthenticatorTests.cs @@ -12,7 +12,7 @@ namespace TwoStepsAuthenticator.UnitTests { [Test] public void CreateKey() { var authenticator = new TimeAuthenticator(); - var secret = authenticator.GenerateKey(); + var secret = Authenticator.GenerateKey(); var code = authenticator.GetCode(secret); Assert.IsTrue(authenticator.CheckCode(secret, code), "Generated Code doesn't verify"); |