This commit is contained in:
parent
9944095959
commit
205ea8c5b8
2 changed files with 5 additions and 2 deletions
|
@ -80,7 +80,10 @@ pub fn create_pool(database_url: &str, ca_file_path: Option<&Path>, pool_size: u
|
|||
connector,
|
||||
)
|
||||
} else {
|
||||
deadpool_postgres::Manager::new(database_url.parse().expect("invalid database URL"), tokio_postgres::NoTls)
|
||||
deadpool_postgres::Manager::new(
|
||||
database_url.parse().expect("invalid database URL"),
|
||||
tokio_postgres::NoTls,
|
||||
)
|
||||
};
|
||||
|
||||
DbPool::builder(manager)
|
||||
|
|
|
@ -117,9 +117,9 @@ pub fn verify_rsa_json_signature(
|
|||
mod tests {
|
||||
use super::*;
|
||||
use crate::json_signatures::create::sign_object;
|
||||
use fedimovies_utils::did_pkh::DidPkh;
|
||||
use fedimovies_utils::{crypto_rsa::generate_weak_rsa_key, currencies::Currency};
|
||||
use serde_json::json;
|
||||
use fedimovies_utils::did_pkh::DidPkh;
|
||||
|
||||
#[test]
|
||||
fn test_get_json_signature_eip191() {
|
||||
|
|
Loading…
Reference in a new issue