Skip to content

Commit

Permalink
APIGOV-26574 fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alrosca committed Nov 13, 2023
1 parent 99b05dd commit 4dbdea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/subscription/access/access_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ type mockAccessClient struct {
addQuotaErr bool
}

func (c mockAccessClient) AddManagedAppACL(ctx context.Context, managedAppID, routeID string) error {
func (c mockAccessClient) AddRouteACL(ctx context.Context, routeID, allowedID string) error {
if c.addManagedAppErr {
return fmt.Errorf("error")
}
return nil
}

func (c mockAccessClient) RemoveManagedAppACL(ctx context.Context, routeID, managedAppID string) error {
func (c mockAccessClient) RemoveRouteACL(ctx context.Context, routeID, revokedID string) error {
if c.removeManagedAppErr {
return fmt.Errorf("error")
}
Expand Down

0 comments on commit 4dbdea9

Please sign in to comment.