mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-11 03:13:24 +00:00
fix(tests): align sqlite smoke test vault AgentID pointer type
This commit is contained in:
1 parent
8ef11d0cbe
commit
eb2419beed
1 file changed
+3
-2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user