tests(upload): Ignore integration test with real Mastodon connection per default (#17)

This commit is contained in:
Klaus Purer
2017-12-21 16:56:35 +00:00
committed by Aaron Power
parent dfe317f329
commit 09fa9deb56
+3
View File
@@ -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();