From 0faff9ae96bb9f357d1f5c6cfe8e4b52793de4b5 Mon Sep 17 00:00:00 2001 From: Dasemu Date: Mon, 26 Oct 2026 16:22:19 +0100 Subject: [PATCH] test: schema v9 in migration tests; drop an unused import Co-Authored-By: Claude Opus 5.5 --- app/test/modules_test.dart | 1 - crates/synapse-core/tests/structure.rs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/test/modules_test.dart b/app/test/modules_test.dart index 00e5743..fcefcaf 100644 --- a/app/test/modules_test.dart +++ b/app/test/modules_test.dart @@ -1,4 +1,3 @@ -import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/crates/synapse-core/tests/structure.rs b/crates/synapse-core/tests/structure.rs index e425f70..f53a271 100644 --- a/crates/synapse-core/tests/structure.rs +++ b/crates/synapse-core/tests/structure.rs @@ -506,7 +506,7 @@ fn old_ops_and_v2_databases_load() { r.get(0) }) .unwrap(); - assert_eq!(schema, "8"); + assert_eq!(schema, "9"); let p = g.get_page(id).unwrap().unwrap(); assert_eq!((p.kind, p.title.as_str()), (PageKind::Note, "Legacy")); let h = g.create_hub("New hub", "").unwrap(); @@ -1190,7 +1190,7 @@ fn v7_databases_gain_type_definitions() { r.get(0) }) .unwrap(); - assert_eq!(schema, "8"); + assert_eq!(schema, "9"); assert_eq!(type_row(&g, "persona"), Some(("persona".into(), 1, None))); g.set_type_icon("persona", Some("🧑")).unwrap(); assert_eq!(type_row(&g, "persona").unwrap().2.as_deref(), Some("🧑"));