Skip to content

Commit

Permalink
Fix tests that used old DeleteGroupRule signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
monde committed Aug 2, 2021
1 parent eecbe37 commit 224773f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,6 @@ func Test_group_rule_operations(t *testing.T) {
require.NoError(t, err, "Should not error when deleting Group")

// Delete the group rule → DELETE /api/v1/groups/rules/{{ruleId}}
_, err = client.Group.DeleteGroupRule(ctx, groupRule.Id)
_, err = client.Group.DeleteGroupRule(ctx, groupRule.Id, &query.Params{})
require.NoError(t, err, "Should not error when deleting Rule")
}
2 changes: 1 addition & 1 deletion tests/integration/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func sweepGroupRules(ctx context.Context, client *okta.Client) error {
return err
}
}
_, err = client.Group.DeleteGroupRule(ctx, g.Id)
_, err = client.Group.DeleteGroupRule(ctx, g.Id, &query.Params{})
if err != nil {
return err
}
Expand Down

0 comments on commit 224773f

Please sign in to comment.