Skip to content

Commit

Permalink
Merge pull request #798 from fluidvanadium/fix_lightclient_unit_test
Browse files Browse the repository at this point in the history
added test-features flags to some unit tests
  • Loading branch information
fluidvanadium authored Feb 5, 2024
2 parents 8698549 + e1d0d03 commit 9e024d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions zingolib/src/lightclient.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2234,6 +2234,7 @@ async fn get_recent_median_price_from_gemini() -> Result<f64, PriceFetchError> {
}

#[cfg(test)]
#[cfg(feature = "test-features")]
mod tests {
use tokio::runtime::Runtime;
use zingo_testvectors::seeds::CHIMNEY_BETTER_SEED;
Expand Down
1 change: 1 addition & 0 deletions zingolib/src/wallet/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ pub mod summaries {
pub use crate::wallet::transaction_record::TransactionRecord;

#[test]
#[cfg(feature = "test-features")]
fn single_transparent_note_makes_is_incoming_true() {
// A single transparent note makes is_incoming_trsaction true.
let transparent_note = crate::test_framework::TransparentNoteBuilder::new()
Expand Down

0 comments on commit 9e024d9

Please sign in to comment.