Add a migration test for the `ephemeral_addresses` migration.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira-Emma Hopwood 2024-06-23 10:02:19 +01:00
parent 0f49daed5f
commit 637ae925da
1 changed files with 10 additions and 0 deletions

View File

@ -55,3 +55,13 @@ impl RusqliteMigration for Migration {
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]);
}
}