mirror of
https://github.com/NetworkCats/rustyip.git
synced 2026-11-14 00:15:13 +00:00
test: add integration tests for all endpoints and CLI detection
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
pub mod cli_detect;
|
||||
pub mod config;
|
||||
pub mod db;
|
||||
pub mod error;
|
||||
pub mod handlers;
|
||||
pub mod models;
|
||||
pub mod routes;
|
||||
pub mod updater;
|
||||
+2
-9
@@ -1,17 +1,10 @@
|
||||
mod cli_detect;
|
||||
mod config;
|
||||
mod db;
|
||||
mod error;
|
||||
mod handlers;
|
||||
mod models;
|
||||
mod routes;
|
||||
mod updater;
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
use tracing::error;
|
||||
use tracing_subscriber::EnvFilter;
|
||||
|
||||
use rustyip::{config, db, handlers, routes, updater};
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
tracing_subscriber::fmt()
|
||||
|
||||
Reference in New Issue
Block a user