From 8e8de0de92efca1e263e126e2670aaa960133d48 Mon Sep 17 00:00:00 2001 From: jedarden Date: Tue, 26 May 2026 11:00:04 -0400 Subject: [PATCH] fix(tests): update migration count from 3 to 5 in test_migration_not_reapplied Added migrations 004 and 005, so the expected count needs to be updated. --- crates/miroir-core/tests/p3_sqlite_restart.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/miroir-core/tests/p3_sqlite_restart.rs b/crates/miroir-core/tests/p3_sqlite_restart.rs index 2598e6e..4afcdda 100644 --- a/crates/miroir-core/tests/p3_sqlite_restart.rs +++ b/crates/miroir-core/tests/p3_sqlite_restart.rs @@ -504,8 +504,8 @@ fn test_migration_not_reapplied() { .query_row("SELECT COUNT(*) FROM schema_versions", [], |row| row.get(0)) .unwrap(); - // Should have exactly 3 migrations (001, 002, 003) - assert_eq!(count, 3); + // Should have exactly 5 migrations (001, 002, 003, 004, 005) + assert_eq!(count, 5); } }