~nicohman/gogapi-rs

a6ead7f637ebba72cfc02d21f5db24c83372e722 — nicohman 5 years ago 2852d6c
Fix tests to work with Into<String> token argument
1 files changed, 1 insertions(+), 1 deletions(-)

M tests/lib.rs
M tests/lib.rs => tests/lib.rs +1 -1
@@ 14,7 14,7 @@ fn get_gog() -> Gog {
        .unwrap()
        .read_to_string(&mut token_json)
        .unwrap();
    let mut token = Token::from_response(&token_json).unwrap();
    let mut token = Token::from_response(token_json.as_str()).unwrap();
    token = token.refresh().unwrap();
    Gog::new(token)
}