Fix tests

This commit is contained in:
bitfl0wer 2023-05-13 16:42:24 +02:00
parent 35d081c649
commit ce84251d31
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 3 additions and 3 deletions

View File

@ -127,10 +127,10 @@ mod test {
#[tokio::test] #[tokio::test]
async fn send_message() { async fn send_message() {
let channel_id = "1104413094102290492".to_string(); let channel_id = "1106954414356168802".to_string();
let mut message = crate::api::schemas::MessageSendSchema::new( let mut message = crate::api::schemas::MessageSendSchema::new(
None, None,
Some("ashjkdhjksdfgjsdfzjkhsdvhjksdf".to_string()), Some("A Message!".to_string()),
None, None,
None, None,
None, None,
@ -173,7 +173,7 @@ mod test {
#[tokio::test] #[tokio::test]
async fn send_message_attachment() { async fn send_message_attachment() {
let channel_id = "1104413094102290492".to_string(); let channel_id = "1106954414356168802".to_string();
let f = File::open("./README.md").unwrap(); let f = File::open("./README.md").unwrap();
let mut reader = BufReader::new(f); let mut reader = BufReader::new(f);