Migration implementation (part 2)
This commit is contained in:
@@ -8,21 +8,19 @@
|
||||
*
|
||||
*/
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
use crate::{
|
||||
directory::DirectoryTest,
|
||||
http_server::{HttpMessage, spawn_mock_http_server},
|
||||
};
|
||||
use base64::{Engine, engine::general_purpose};
|
||||
use directory::QueryParams;
|
||||
use http_proto::{JsonProblemResponse, JsonResponse, ToHttpResponse};
|
||||
use hyper::{Method, StatusCode};
|
||||
use mail_send::Credentials;
|
||||
use serde_json::json;
|
||||
use std::sync::Arc;
|
||||
use trc::{AuthEvent, EventType};
|
||||
|
||||
use crate::{
|
||||
directory::DirectoryTest,
|
||||
http_server::{HttpMessage, spawn_mock_http_server},
|
||||
};
|
||||
|
||||
static TEST_TOKEN: &str = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ";
|
||||
|
||||
#[tokio::test]
|
||||
|
||||
Reference in New Issue
Block a user