delete debug thing
Unit Tests with docker compose and cargo / unit-test (push) Waiting to run Details

This commit is contained in:
Alie 2025-01-03 12:59:28 +01:00
parent a612b1b687
commit f9e66d51cd
1 changed files with 3 additions and 3 deletions

View File

@ -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