tests fix

This commit is contained in:
crn4
2025-09-03 15:34:19 +02:00
parent 333908d06e
commit 050c05164a
2 changed files with 2 additions and 0 deletions

View File

@@ -1736,6 +1736,7 @@ func TestAccount_Copy(t *testing.T) {
Address: "172.12.6.1/24",
},
},
NetworkMapCache: &types.NetworkMapBuilder{},
}
err := hasNilField(account)
if err != nil {

View File

@@ -594,6 +594,7 @@ func (a *Account) Copy() *Account {
NetworkRouters: networkRouters,
NetworkResources: networkResources,
Onboarding: a.Onboarding,
NetworkMapCache: a.NetworkMapCache,
}
}