fix: Test hält die Sperre nicht mehr über await (Clippy), Version 0.1.33-rc2
All checks were successful
ci / pruefen (push) Successful in 2m11s
release / pruefen (push) Successful in 2m7s
release / binary (push) Successful in 2m31s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg7bzeoxrPsLnJ4nor4
This commit is contained in:
2026-11-29 19:04:42 +01:00
parent e44955c125
commit 1485d0de5c
3 changed files with 16 additions and 15 deletions

View File

@ -3077,14 +3077,15 @@ async fn personas_uebersicht_editor_wiederherstellen_und_testen() {
)
.await;
assert_eq!(s, 303);
let store = gw.state.store();
let now = store.persona(TEST_NUTZER, luna, None).unwrap().unwrap();
assert_eq!(
(now.version, now.systemprompt.as_str()),
(3, "Erste Fassung")
);
assert_eq!(store.persona_versions(TEST_NUTZER, luna).unwrap().len(), 3);
drop(store);
{
let store = gw.state.store();
let now = store.persona(TEST_NUTZER, luna, None).unwrap().unwrap();
assert_eq!(
(now.version, now.systemprompt.as_str()),
(3, "Erste Fassung")
);
assert_eq!(store.persona_versions(TEST_NUTZER, luna).unwrap().len(), 3);
}
assert_eq!(
ui_post(
&gw,