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

pull/1/head
Klaus Purer 8 年前 提交者 Aaron Power
父節點 dfe317f329
當前提交 09fa9deb56
  1. 3
      tests/upload_photo.rs

@ -6,7 +6,10 @@ use std::env;
use mammut::{Data, Mastodon}; use mammut::{Data, Mastodon};
use dotenv::dotenv; use dotenv::dotenv;
// Do not run this test by default because it requires a real Mastodon
// connection setup.
#[test] #[test]
#[ignore]
fn upload_photo() { fn upload_photo() {
dotenv().ok(); dotenv().ok();
run().unwrap(); run().unwrap();

載入中…
取消
儲存