mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26:38 +00:00
update total amount of test peers
This commit is contained in:
@@ -14,12 +14,13 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"github.com/netbirdio/netbird/management/server/util"
|
|
||||||
"github.com/rs/xid"
|
"github.com/rs/xid"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
|
"github.com/netbirdio/netbird/management/server/util"
|
||||||
|
|
||||||
nbdns "github.com/netbirdio/netbird/dns"
|
nbdns "github.com/netbirdio/netbird/dns"
|
||||||
resourceTypes "github.com/netbirdio/netbird/management/server/networks/resources/types"
|
resourceTypes "github.com/netbirdio/netbird/management/server/networks/resources/types"
|
||||||
routerTypes "github.com/netbirdio/netbird/management/server/networks/routers/types"
|
routerTypes "github.com/netbirdio/netbird/management/server/networks/routers/types"
|
||||||
@@ -2809,7 +2810,7 @@ func TestSqlStore_GetUserPeers(t *testing.T) {
|
|||||||
name: "should retrieve peers for another valid account ID and user ID",
|
name: "should retrieve peers for another valid account ID and user ID",
|
||||||
accountID: "bf1c8084-ba50-4ce7-9439-34653001fc3b",
|
accountID: "bf1c8084-ba50-4ce7-9439-34653001fc3b",
|
||||||
userID: "edafee4e-63fb-11ec-90d6-0242ac120003",
|
userID: "edafee4e-63fb-11ec-90d6-0242ac120003",
|
||||||
expectedCount: 2,
|
expectedCount: 3,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "should return no peers for existing account ID with empty user ID",
|
name: "should return no peers for existing account ID with empty user ID",
|
||||||
|
|||||||
Reference in New Issue
Block a user