[management] Add PeerStatus with LastSeen in peer_test

This commit is contained in:
mlsmaycon
2026-05-19 19:51:21 +02:00
parent a943431b27
commit 89c948429a

View File

@@ -2218,6 +2218,9 @@ func Test_IsUniqueConstraintError(t *testing.T) {
ID: "test-peer-id",
AccountID: "bf1c8084-ba50-4ce7-9439-34653001fc3b",
DNSLabel: "test-peer-dns-label",
Status: &nbpeer.PeerStatus{
LastSeen: time.Now(),
},
}
for _, tt := range tests {