fix: Test hält die Sperre nicht mehr über await (Clippy), Version 0.1.33-rc2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GmHhg7bzeoxrPsLnJ4nor4
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user