test: use an 8+ rune quote in the unreadable-store case

The quote x7 is now rejected as too short before the store is read, so the
test never reached the not_assessed path. Use a quote long enough to pass
the minimum; the store removal is unchanged.
This commit is contained in:
BaaRai
2026-11-09 20:43:25 +01:00
parent 0a740f0894
commit a1426bbd35
+1 -1
View File
@@ -140,7 +140,7 @@ func TestVerificationUnreadableStoreNotAssessedReportSaved(t *testing.T) {
if err := os.RemoveAll(filepath.Join(s.m.dir, "evidence")); err != nil {
t.Fatal(err)
}
msg, isErr := updateReport(t, s, f.NodeID, `,"poe_level":3,"evidence_quotes":["x7"]`)
msg, isErr := updateReport(t, s, f.NodeID, `,"poe_level":3,"evidence_quotes":["user admin: x7"]`)
if isErr || !strings.Contains(msg, "verification: not_assessed") {
t.Fatalf("unexpected result: err=%v %q", isErr, msg)
}