mirror of
https://github.com/stoatchat/rust-authifier.git
synced 2026-06-30 22:08:36 -04:00
test: update tests to work with new templates
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
pub use authifier::{
|
||||
config::*, database::{MongoDb, DummyDb}, models::totp::*, models::*, Authifier, AuthifierEvent, Config,
|
||||
Database, Error, Migration, Result,
|
||||
config::*,
|
||||
database::{DummyDb, MongoDb},
|
||||
models::totp::*,
|
||||
models::*,
|
||||
Authifier, AuthifierEvent, Config, Database, Error, Migration, Result,
|
||||
};
|
||||
pub use mongodb::Client;
|
||||
pub use rocket::http::{ContentType, Status};
|
||||
@@ -42,6 +45,12 @@ pub async fn test_smtp_config() -> Config {
|
||||
url: "".into(),
|
||||
html: None,
|
||||
},
|
||||
reset_existing: Template {
|
||||
title: "reset_existing".into(),
|
||||
text: "[[{{url}}]]".into(),
|
||||
url: "".into(),
|
||||
html: None,
|
||||
},
|
||||
deletion: Template {
|
||||
title: "deletion".into(),
|
||||
text: "[[{{url}}]]".into(),
|
||||
|
||||
Reference in New Issue
Block a user