Add a migration test for the `ephemeral_addresses` migration.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
0f49daed5f
commit
637ae925da
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue