From eb2419beedefebca3931e949985584065973ed42 Mon Sep 17 00:00:00 2001 From: viettranx Date: Sat, 11 Apr 2026 14:57:57 +0700 Subject: [PATCH] fix(tests): align sqlite smoke test vault AgentID pointer type --- tests/integration/sqlite_smoke_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/sqlite_smoke_test.go b/tests/integration/sqlite_smoke_test.go index e89fa246..69ac8148 100644 --- a/tests/integration/sqlite_smoke_test.go +++ b/tests/integration/sqlite_smoke_test.go @@ -213,9 +213,10 @@ func TestSQLiteSmokeTest(t *testing.T) { // --- VaultStore round-trip --- t.Run("Vault", func(t *testing.T) { + aid := agentID.String() doc := &store.VaultDocument{ TenantID: tenantID.String(), - AgentID: agentID.String(), + AgentID: &aid, Scope: "personal", Path: "notes/meeting.md", Title: "Meeting Notes", @@ -254,7 +255,7 @@ func TestSQLiteSmokeTest(t *testing.T) { // Links doc2 := &store.VaultDocument{ TenantID: tenantID.String(), - AgentID: agentID.String(), + AgentID: &aid, Scope: "personal", Path: "notes/followup.md", Title: "Follow-up",