You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-09 04:22:45 +03:00
handlers: add tests for client registration
This commit is contained in:
@@ -43,6 +43,13 @@ use crate::{
|
||||
MatrixHomeserver,
|
||||
};
|
||||
|
||||
pub(crate) fn init_tracing() {
|
||||
let _ = tracing_subscriber::fmt()
|
||||
.with_max_level(tracing::Level::INFO)
|
||||
.with_test_writer()
|
||||
.try_init();
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub(crate) struct TestState {
|
||||
pub pool: PgPool,
|
||||
|
Reference in New Issue
Block a user