修复部署恢复前证据核验并补齐原生负向回归

This commit is contained in:
xuans committed 2026-10-02 13:28:27 +08:00
1 parent 9a3ef1711f
commit 46a9fa0006
14 files changed
+538 -15

No files matched your search

@@ -1,6 +1,7 @@
package repository
import (
"path/filepath"
"testing"
"time"
@@ -11,6 +12,7 @@ import (
func TestProjectAuditReaderScopesLogsAndHonorsRevocation(t *testing.T) {
cfg := config.Default(t.TempDir()).Database
cfg.DSN = filepath.Join(t.TempDir(), "project-audit.db")
db, err := database.Open(t.Context(), cfg)
if err != nil {
t.Fatal(err)