Skip to content

Commit

Permalink
tc-cli: remove unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
penumbra23 committed Feb 26, 2025
1 parent f8cedae commit 9e3cbf7
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tc-cli/src/slack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,18 +150,3 @@ impl Slack {
Ok(resp.files[0].id.clone())
}
}

#[cfg(test)]
mod tests {
use super::*;

#[tokio::test]
async fn slack_test() {
rustls::crypto::ring::default_provider()
.install_default()
.expect("Failed to install rustls crypto provider");

let slack = Slack::new().unwrap();
slack.post_message(None, SlackMessageContent::new().with_text("Hello from bran's local tc-cli".to_string())).await.unwrap();
}
}

0 comments on commit 9e3cbf7

Please sign in to comment.