M12e: contract pass (pair invite kind, admin name in invite links, sync failed flag, rejection actor, device version name, template id, update check result, untouched accounts, D-027 re-stamp, PushEvent in :core:model, snackbar hosts)
Server: E-3 invite_kind; E-12 link ?from=<admin name>, E-4 passes it into kvitt://invite; X-Kvitt-App-Version-Name stored in devices.app_version_name (migration 0003, schema 3); OpenAPI and examples follow. Phone: :core:model, :core:fakes, :data, features and :app updated together; goldens re-recorded for S-20 (version name) and new S-1/S-22 states. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
This commit is contained in:
@@ -706,7 +706,10 @@ async fn a_schema_1_database_is_refused_until_migrated() {
|
||||
let refused = kvitt_import::open(&path).await;
|
||||
match refused {
|
||||
Err(ImportError::Io(message)) => {
|
||||
assert!(message.contains("expected 2"), "{message}");
|
||||
assert!(
|
||||
message.contains(&format!("expected {}", db::SCHEMA_VERSION)),
|
||||
"{message}"
|
||||
);
|
||||
assert!(message.contains("kvitt-server migrate"), "{message}");
|
||||
}
|
||||
Err(other) => panic!("expected a database error, got {other:?}"),
|
||||
|
||||
Reference in New Issue
Block a user