@@ -249,6 +249,7 @@ mod tests {
249
249
vc:: { Credential , CredentialSubject , Issuer , URI } ,
250
250
} ;
251
251
use std:: { collections:: HashMap , sync:: Arc } ;
252
+ use trustchain_core:: utils:: init;
252
253
use trustchain_core:: { utils:: canonicalize, verifier:: Verifier } ;
253
254
use trustchain_ion:: { trustchain_resolver, verifier:: TrustchainVerifier } ;
254
255
@@ -337,6 +338,7 @@ mod tests {
337
338
#[ tokio:: test]
338
339
#[ ignore = "integration test requires ION, MongoDB, IPFS and Bitcoin RPC" ]
339
340
async fn test_post_issuer_credential ( ) {
341
+ init ( ) ;
340
342
let app = TrustchainRouter :: from ( Arc :: new ( AppState :: new_with_cache (
341
343
TEST_HTTP_CONFIG . to_owned ( ) ,
342
344
serde_json:: from_str ( CREDENTIALS ) . unwrap ( ) ,
@@ -390,6 +392,7 @@ mod tests {
390
392
#[ tokio:: test]
391
393
#[ ignore = "integration test requires ION, MongoDB, IPFS and Bitcoin RPC" ]
392
394
async fn test_post_issuer_rss_credential ( ) {
395
+ init ( ) ;
393
396
let app = TrustchainRouter :: from ( Arc :: new ( AppState :: new_with_cache (
394
397
TEST_HTTP_CONFIG . to_owned ( ) ,
395
398
serde_json:: from_str ( CREDENTIALS ) . unwrap ( ) ,
0 commit comments