Skip to content

Commit

Permalink
fix: unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Feb 13, 2024
1 parent d16c4e3 commit 37f1b89
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions moksha-mint/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,27 +336,3 @@ impl Default for LightningFeeConfig {
}
}
}

#[cfg(test)]
mod test {
use super::*;

#[test]
fn test_config() {
dotenvy::dotenv().ok();

// env::set_var("MINT_LIGHTNING_BACKEND_TYPE", "Lnd");
// env::set_var("MINT_LIGHTNING_BACKEND_MACAROON_PATH","/Users/steffen/.polar/networks/1/volumes/lnd/alice/data/chain/bitcoin/regtest/admin.macaroon");
// env::set_var(
// "MINT_LIGHTNING_BACKEND_TLS_CERT_PATH",
// "/Users/steffen/.polar/networks/1/volumes/lnd/alice/tls.cert",
// );
// env::set_var(
// "MINT_LIGHTNING_BACKEND_GRPC_HOST",
// "https://localhost:10001",
// );

let config = MintConfig::read_config_with_defaults();
println!("{:?}", config);
}
}

0 comments on commit 37f1b89

Please sign in to comment.