Fix tests

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
bcmmbaga 2025-01-15 11:51:08 +03:00
parent 2fb399aa7d
commit 22798ada25
No known key found for this signature in database
GPG Key ID: 511EED5C928AD547

View File

@ -147,7 +147,7 @@ func TestMigrateNetIPFieldFromBlobToJSON_WithJSONData(t *testing.T) {
err = db.Save(&types.Account{
Id: "1234",
PeersG: []nbpeer.Peer{
PeersG: []*nbpeer.Peer{
{Location: nbpeer.Location{ConnectionIP: net.IP{10, 0, 0, 1}}},
}},
).Error