1
0
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:
Quentin Gliech
2023-02-22 14:11:00 +01:00
parent 304ec10d1b
commit 1e9ce8d6d6
3 changed files with 173 additions and 31 deletions

View File

@@ -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,