Added ability to add page, but hangs in main.
This commit is contained in:
@ -112,6 +112,7 @@ async fn mtt_conn(
|
||||
#[cfg(test)]
|
||||
mod servers {
|
||||
use super::*;
|
||||
use std::time::Duration;
|
||||
use axum::{
|
||||
body::Body,
|
||||
http::{
|
||||
@ -195,7 +196,7 @@ mod servers {
|
||||
//#[tokio::test]
|
||||
async fn add_new_page() {
|
||||
let base = "/something".to_string();
|
||||
let api = "/api".to_owned() + &base;
|
||||
let api = format!("/api{}", &base);
|
||||
let app = create_app(MoreThanText::new()).await;
|
||||
let response = app
|
||||
.clone()
|
||||
|
Reference in New Issue
Block a user