test: diag-Test auf die aktuelle Schema-Version

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 09:35:03 +01:00
parent 722467f528
commit bea8096b16

View File

@ -436,7 +436,10 @@ mod tests {
assert!(get("anfragen.csv").contains(";3;4;llama.cpp;1;false"));
assert!(get("audit.csv").contains("key.create"));
assert!(get("keys.csv").contains("client;true;normal;normal;*;false"));
assert!(get("uebersicht.txt").contains("Schema-Version: 2"));
assert!(get("uebersicht.txt").contains(&format!(
"Schema-Version: {}",
nexus_store::LATEST_SCHEMA_VERSION
)));
assert!(!files.iter().any(|(n, _)| n.starts_with("engine-logs/")));
for (name, content) in &files {
assert!(!content.contains(&klartext_key), "Key-Klartext in {name}");