@@ -56,7 +56,7 @@ func TestAddOrganizationMembers(t *testing.T) {
56
56
})
57
57
require .NoError (t , err , "create another organization" )
58
58
59
- inv , root := clitest .New (t , "organization" , "members" , "add" , "--organization " , otherOrg .ID .String (), user .Username )
59
+ inv , root := clitest .New (t , "organization" , "members" , "add" , "-z " , otherOrg .ID .String (), user .Username )
60
60
//nolint:gocritic // must be an owner
61
61
clitest .SetupConfig (t , ownerClient , root )
62
62
@@ -86,7 +86,7 @@ func TestRemoveOrganizationMembers(t *testing.T) {
86
86
87
87
ctx := testutil .Context (t , testutil .WaitMedium )
88
88
89
- inv , root := clitest .New (t , "organization" , "members" , "remove" , "--organization " , owner .OrganizationID .String (), user .Username )
89
+ inv , root := clitest .New (t , "organization" , "members" , "remove" , "-z " , owner .OrganizationID .String (), user .Username )
90
90
clitest .SetupConfig (t , orgAdminClient , root )
91
91
92
92
buf := new (bytes.Buffer )
@@ -109,7 +109,7 @@ func TestRemoveOrganizationMembers(t *testing.T) {
109
109
110
110
ctx := testutil .Context (t , testutil .WaitMedium )
111
111
112
- inv , root := clitest .New (t , "organization" , "members" , "remove" , "--organization " , owner .OrganizationID .String (), "random_name" )
112
+ inv , root := clitest .New (t , "organization" , "members" , "remove" , "-z " , owner .OrganizationID .String (), "random_name" )
113
113
clitest .SetupConfig (t , orgAdminClient , root )
114
114
115
115
buf := new (bytes.Buffer )
0 commit comments