rename tests

This commit is contained in:
bitfl0wer 2023-04-15 13:27:43 +02:00
parent 57a1df35e6
commit 38bf6dd5d1
1 changed files with 3 additions and 6 deletions

View File

@ -190,19 +190,16 @@ impl LimitedRequester {
} }
#[cfg(test)] #[cfg(test)]
mod tests { mod rate_limit {
use crate::URLBundle;
use super::*; use super::*;
use crate::URLBundle;
#[tokio::test] #[tokio::test]
async fn test() { async fn create_limited_requester() {
let urls = URLBundle::new( let urls = URLBundle::new(
String::from("http://localhost:3001/api/"), String::from("http://localhost:3001/api/"),
String::from("wss://localhost:3001/"), String::from("wss://localhost:3001/"),
String::from("http://localhost:3001/cdn"), String::from("http://localhost:3001/cdn"),
); );
let requester = LimitedRequester::new(urls.api).await; let requester = LimitedRequester::new(urls.api).await;
} }
} }