diff options
author | Guillaume Lacasa <guillaume.lacasa@ucaya.com> | 2013-12-06 17:33:34 +0100 |
---|---|---|
committer | Guillaume Lacasa <guillaume.lacasa@ucaya.com> | 2013-12-06 17:33:34 +0100 |
commit | cb801c254bfbafe80a1f3cd093a3dfe1d01538cb (patch) | |
tree | 4966d374878163c4a5c894c25f9cb8c0e61f11f1 /TwoStepsAuthenticator.UnitTests/UsedCodesManagerTests.cs | |
parent | 93adb5b673c1cf6d3abdb287d349ffad11ed7665 (diff) | |
parent | 57f740845da867fc270d9b185508bc5761aa7d45 (diff) | |
download | TwoStepsAuthenticator-cb801c254bfbafe80a1f3cd093a3dfe1d01538cb.zip TwoStepsAuthenticator-cb801c254bfbafe80a1f3cd093a3dfe1d01538cb.tar.gz TwoStepsAuthenticator-cb801c254bfbafe80a1f3cd093a3dfe1d01538cb.tar.bz2 |
Merge branch 'master' of https://github.com/dusk0r/TwoStepsAuthenticator
Conflicts:
README.md
TwoStepsAuthenticator.UnitTests/UsedCodesManagerTests.cs
TwoStepsAuthenticator/CounterAuthenticator.cs
Diffstat (limited to 'TwoStepsAuthenticator.UnitTests/UsedCodesManagerTests.cs')
-rw-r--r-- | TwoStepsAuthenticator.UnitTests/UsedCodesManagerTests.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TwoStepsAuthenticator.UnitTests/UsedCodesManagerTests.cs b/TwoStepsAuthenticator.UnitTests/UsedCodesManagerTests.cs index 15ae91e..d72474c 100644 --- a/TwoStepsAuthenticator.UnitTests/UsedCodesManagerTests.cs +++ b/TwoStepsAuthenticator.UnitTests/UsedCodesManagerTests.cs @@ -14,9 +14,9 @@ namespace TwoStepsAuthenticator.UnitTests { public void Can_add_codes() { var manager = new UsedCodesManager(); - Assert.IsFalse(manager.IsCodeUsed(42uL, "def")); - manager.AddCode(42uL, "def"); - Assert.IsTrue(manager.IsCodeUsed(42uL, "def")); + Assert.IsFalse(manager.IsCodeUsed(42L, "def")); + manager.AddCode(42L, "def"); + Assert.IsTrue(manager.IsCodeUsed(42L, "def")); } } |