From 32327b7dbe2a3515542d2913b99ddfba0ae96511 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 28 Jul 2020 22:54:52 +0200 Subject: client.rs: Remove superfluous test I had written this to check the response from the server and the 'github-rs' library. Remove it since it makes a network request. --- src/client.rs | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src') diff --git a/src/client.rs b/src/client.rs index d6cf629..0625443 100644 --- a/src/client.rs +++ b/src/client.rs @@ -50,23 +50,3 @@ impl<'a> Client<'a> { } } } - - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - #[ignore] - fn suggestion_fetch_gets_pull_request_comment() { - let client = Client::new( - env!("GITHUB_TOKEN"), - "cli", - "cli", - ); - - let suggestion = client.fetch("438947607").unwrap(); - - println!("{:?}", suggestion); - } -} -- cgit v1.2.3