fix(tests): align sqlite smoke test vault AgentID pointer type

This commit is contained in:
viettranx committed 2026-04-11 21:22:23 +07:00
1 parent 8ef11d0cbe
commit eb2419beed
1 file changed
+3 -2
+3 -2
View File
@@ -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",