diff --git a/management/server/migration/migration_test.go b/management/server/migration/migration_test.go index a645ae325..4b4aa1184 100644 --- a/management/server/migration/migration_test.go +++ b/management/server/migration/migration_test.go @@ -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