test: bump schema_version assertion to 8 after 0008_group_node migration
This commit is contained in:
+2
-2
@@ -324,11 +324,11 @@ def test_get_scene_returns_none_for_missing(tmp_path):
|
||||
assert active_scene(conn, "chat_missing") is None
|
||||
|
||||
|
||||
def test_schema_version_after_migration_is_7(tmp_path):
|
||||
def test_schema_version_after_migration_is_8(tmp_path):
|
||||
db = tmp_path / "t.db"
|
||||
apply_migrations(db)
|
||||
with open_db(db) as conn:
|
||||
row = conn.execute(
|
||||
"SELECT value FROM meta WHERE key = 'schema_version'"
|
||||
).fetchone()
|
||||
assert int(row[0]) == 7
|
||||
assert int(row[0]) == 8
|
||||
|
||||
Reference in New Issue
Block a user