add UI tests for welcome and unlock flows

This commit is contained in:
jfmonty2 committed 2026-11-18 14:31:00 -05:00
1 parent 5999aba0a5
commit b2a7e5759a
9 files changed
+1003 -59

No files matched your search

+2 -1
View File
@@ -13,7 +13,8 @@ impl Db {
pub fn save_private_config(&self, config: &PrivateConfig) -> Result<(), CreddyError> {
let json = serde_json::to_string(&config)?;
let conn = self.connection.lock().unwrap();
conn.execute("INSERT INTO config VALUES (?);", [&json])?;
// the migration seeds the only row, so this is always an update
conn.execute("UPDATE config SET value = ?;", [&json])?;
Ok(())
}
}