rename tests

This commit is contained in:
bitfl0wer 2023-04-15 13:27:43 +02:00
parent 84258ec8da
commit 5130846c7f
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 3 additions and 6 deletions

View File

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