From a1426bbd358a705e26b1372a8bab751d9f0bda59 Mon Sep 17 00:00:00 2001 From: BaaRai <130491490+BaaRai@users.noreply.github.com> Date: Mon, 9 Nov 2026 20:43:25 +0100 Subject: [PATCH] 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. --- server/finding_verification_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/finding_verification_test.go b/server/finding_verification_test.go index 1df3793..afa37f6 100644 --- a/server/finding_verification_test.go +++ b/server/finding_verification_test.go @@ -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) }