mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-13 21:36:49 +02: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)
|
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) {
|
func TestSortingOfPeers(t *testing.T) {
|
||||||
peers := []peerStateDetailOutput{
|
peers := []peerStateDetailOutput{
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user