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,
|
connector,
|
||||||
)
|
)
|
||||||
} else {
|
} 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)
|
DbPool::builder(manager)
|
||||||
|
|
|
@ -117,9 +117,9 @@ pub fn verify_rsa_json_signature(
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::json_signatures::create::sign_object;
|
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 fedimovies_utils::{crypto_rsa::generate_weak_rsa_key, currencies::Currency};
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
use fedimovies_utils::did_pkh::DidPkh;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_get_json_signature_eip191() {
|
fn test_get_json_signature_eip191() {
|
||||||
|
|
Loading…
Reference in a new issue