Fixing test

This commit is contained in:
Tomasz Drwięga 2016-08-08 22:53:54 +02:00
parent fe8a57451a
commit 3f076869c5

View File

@ -169,8 +169,8 @@ mod tests {
fn should_return_false_if_hash_is_valid_but_time_is_invalid() { fn should_return_false_if_hash_is_valid_but_time_is_invalid() {
// given // given
let code = "23521352asdfasdfadf"; let code = "23521352asdfasdfadf";
let time = 105; let time = 107;
let time2 = 95; let time2 = 93;
let codes = AuthCodes::new(vec![code.into()], || 100); let codes = AuthCodes::new(vec![code.into()], || 100);
// when // when