Skip to content

Commit

Permalink
modify test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kouhei Aoyagi committed Apr 3, 2024
1 parent 12c9a94 commit aa921e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/get_2_users_me_oauth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ async fn test_get_2_users_me_oauth() -> Result<()> {
std::env::var("ACCESS_SECRET").unwrap_or_default(),
);
let builder = get_2_users_me::Api::all().build(&auth);
let (res, _rate_limit) = execute_twitter::<serde_json::Value>(builder).await?;
let (res, rate_limit) = execute_twitter::<serde_json::Value>(builder).await?;
println!("{}", serde_json::to_string(&res).unwrap());
println!("{}", rate_limit);
let response = serde_json::from_value::<get_2_users_me::Response>(res)?;
assert_eq!(response.is_empty_extra(), true);
Ok(())
Expand Down

0 comments on commit aa921e4

Please sign in to comment.