mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-17 10:31:45 +02:00
fix tests
This commit is contained in:
@ -49,7 +49,7 @@ type ChecksDefinition struct {
|
|||||||
OSVersionCheck *OSVersionCheck `json:",omitempty"`
|
OSVersionCheck *OSVersionCheck `json:",omitempty"`
|
||||||
GeoLocationCheck *GeoLocationCheck `json:",omitempty"`
|
GeoLocationCheck *GeoLocationCheck `json:",omitempty"`
|
||||||
PeerNetworkRangeCheck *PeerNetworkRangeCheck `json:",omitempty"`
|
PeerNetworkRangeCheck *PeerNetworkRangeCheck `json:",omitempty"`
|
||||||
ProcessCheck *ProcessCheck `json:"process_check"`
|
ProcessCheck *ProcessCheck `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy returns a copy of a checks definition.
|
// Copy returns a copy of a checks definition.
|
||||||
|
@ -116,7 +116,7 @@ func TestProcessCheck_Check(t *testing.T) {
|
|||||||
isValid: false,
|
isValid: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "unsupported Ios operating system with matching processes",
|
name: "unsupported ios operating system with matching processes",
|
||||||
input: peer.Peer{
|
input: peer.Peer{
|
||||||
Meta: peer.PeerSystemMeta{
|
Meta: peer.PeerSystemMeta{
|
||||||
GoOS: "ios",
|
GoOS: "ios",
|
||||||
|
Reference in New Issue
Block a user