From 09fa9deb56d1d7d7657abe37e9d8d1a7fa0ad4fa Mon Sep 17 00:00:00 2001 From: Klaus Purer Date: Thu, 21 Dec 2017 17:56:35 +0100 Subject: [PATCH] tests(upload): Ignore integration test with real Mastodon connection per default (#17) --- tests/upload_photo.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/upload_photo.rs b/tests/upload_photo.rs index f2e64fd..56871b1 100644 --- a/tests/upload_photo.rs +++ b/tests/upload_photo.rs @@ -6,7 +6,10 @@ use std::env; use mammut::{Data, Mastodon}; use dotenv::dotenv; +// Do not run this test by default because it requires a real Mastodon +// connection setup. #[test] +#[ignore] fn upload_photo() { dotenv().ok(); run().unwrap();