delete debug thing
Unit Tests with docker compose and cargo / unit-test (push) Waiting to run
Details
Unit Tests with docker compose and cargo / unit-test (push) Waiting to run
Details
This commit is contained in:
parent
a612b1b687
commit
f9e66d51cd
|
@ -173,7 +173,7 @@ fn parse_config(filename: &str) -> DynResult<Config> {
|
|||
}
|
||||
|
||||
async fn get_account(config: &Config) -> Mastodon {
|
||||
if let Ok(data) = dbg!(masto_toml::from_file("mastodon-data.toml")) {
|
||||
if let Ok(data) = masto_toml::from_file("mastodon-data.toml") {
|
||||
Mastodon::from(data)
|
||||
} else {
|
||||
match register(config).await {
|
||||
|
@ -356,11 +356,11 @@ mod tests {
|
|||
|
||||
let status = post(&account, &msg, Visibility::Direct).await.unwrap();
|
||||
let response = client
|
||||
.get(dbg!(format!(
|
||||
.get(format!(
|
||||
"{}/api/v1/statuses/{}",
|
||||
&config.bot.instance,
|
||||
&status.id.to_string()
|
||||
)))
|
||||
))
|
||||
.bearer_auth(&account.data.token)
|
||||
.send()
|
||||
.await
|
||||
|
|
Loading…
Reference in New Issue