mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-07 22:10:12 +01:00
Fix tests
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
parent
2fb399aa7d
commit
22798ada25
@ -147,7 +147,7 @@ func TestMigrateNetIPFieldFromBlobToJSON_WithJSONData(t *testing.T) {
|
|||||||
|
|
||||||
err = db.Save(&types.Account{
|
err = db.Save(&types.Account{
|
||||||
Id: "1234",
|
Id: "1234",
|
||||||
PeersG: []nbpeer.Peer{
|
PeersG: []*nbpeer.Peer{
|
||||||
{Location: nbpeer.Location{ConnectionIP: net.IP{10, 0, 0, 1}}},
|
{Location: nbpeer.Location{ConnectionIP: net.IP{10, 0, 0, 1}}},
|
||||||
}},
|
}},
|
||||||
).Error
|
).Error
|
||||||
|
Loading…
Reference in New Issue
Block a user