Skip to content

Commit e30a301

Browse files
npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67dTyler Longwell
andcommitted
test(db): fresh-database migration test expects three applied versions
Broken on main since #1463 added the 0003 NIP-11 icon migration: the parser test already asserts migrations[2].version == 3, but the Postgres-backed applied-versions assertion still expected [1, 2]. Co-authored-by: Tyler Longwell <[email protected]> Signed-off-by: Tyler Longwell <[email protected]>
1 parent d032737 commit e30a301

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/buzz-db/src/migration.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ mod tests {
698698

699699
run_migrations(&pool).await.expect("run migrations");
700700

701-
assert_eq!(applied_versions(&pool).await, vec![1, 2]);
701+
assert_eq!(applied_versions(&pool).await, vec![1, 2, 3]);
702702
let sql = migration_sql();
703703
let tables = create_tables(sql.as_str());
704704
for table in [

0 commit comments

Comments
 (0)