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

master
Klaus Purer 7 years ago committed by Aaron Power
parent dfe317f329
commit 09fa9deb56
  1. 3
      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();

Loading…
Cancel
Save