feat: add flags for remotes, replications, and functions to auth create
(#325)
This commit is contained in:
@ -15,7 +15,7 @@ type Client struct {
|
||||
api.AuthorizationsApi
|
||||
api.UsersApi
|
||||
api.OrganizationsApi
|
||||
api.ResourceListApi
|
||||
api.ResourcesApi
|
||||
}
|
||||
|
||||
const (
|
||||
|
@ -395,7 +395,7 @@ func TestClient_RemoveMembers(t *testing.T) {
|
||||
|
||||
req := api.ApiDeleteOrgsIDMembersIDRequest{ApiService: orgApi}.OrgID(id1.String()).UserID(id2.String())
|
||||
orgApi.EXPECT().
|
||||
DeleteOrgsIDMembersID(gomock.Any(), gomock.Eq(id2.String()), gomock.Eq(id1.String()), ).Return(req)
|
||||
DeleteOrgsIDMembersID(gomock.Any(), gomock.Eq(id2.String()), gomock.Eq(id1.String())).Return(req)
|
||||
orgApi.EXPECT().DeleteOrgsIDMembersIDExecute(gomock.Eq(req)).Return(nil)
|
||||
},
|
||||
expectedOut: "user \"2222222222222222\" has been removed from org \"1111111111111111\"",
|
||||
|
Reference in New Issue
Block a user