mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-07 16:54:16 +01:00
remove flag test
This commit is contained in:
parent
82059df324
commit
8026c84c95
@ -111,18 +111,6 @@ func TestConversionFromFullStatusToOutputOverview(t *testing.T) {
|
||||
assert.Equal(t, overview, convertedResult)
|
||||
}
|
||||
|
||||
func TestForErrorOnMultipleOutputFlags(t *testing.T) {
|
||||
rootCmd.SetArgs([]string{
|
||||
"status",
|
||||
"--yaml",
|
||||
"--json",
|
||||
})
|
||||
if err := rootCmd.Execute(); err != nil {
|
||||
return
|
||||
}
|
||||
t.Errorf("expected error while running status command with 2 output flags")
|
||||
}
|
||||
|
||||
func TestSortingOfPeers(t *testing.T) {
|
||||
peers := []peerStateDetailOutput{
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user