Merge pull request #1512 from nuttycom/add_missing_migration_test

zcash_client_sqlite: Add missing test of `utxos_to_txos` migration.
This commit is contained in:
Kris Nuttycombe 2024-08-26 15:49:30 -06:00 committed by GitHub
commit dbc77dfea2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 0 deletions

View File

@ -357,3 +357,13 @@ impl RusqliteMigration for Migration {
Err(WalletMigrationError::CannotRevert(MIGRATION_ID)) Err(WalletMigrationError::CannotRevert(MIGRATION_ID))
} }
} }
#[cfg(test)]
mod tests {
use crate::wallet::init::migrations::tests::test_migrate;
#[test]
fn migrate() {
test_migrate(&[super::MIGRATION_ID]);
}
}