tests(upload): Ignore integration test with real Mastodon connection per default (#17)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user