Skip to content

Commit 224773f

Browse files
committed
Fix tests that used old DeleteGroupRule signature.
1 parent eecbe37 commit 224773f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/group_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,6 @@ func Test_group_rule_operations(t *testing.T) {
356356
require.NoError(t, err, "Should not error when deleting Group")
357357

358358
// Delete the group rule → DELETE /api/v1/groups/rules/{{ruleId}}
359-
_, err = client.Group.DeleteGroupRule(ctx, groupRule.Id)
359+
_, err = client.Group.DeleteGroupRule(ctx, groupRule.Id, &query.Params{})
360360
require.NoError(t, err, "Should not error when deleting Rule")
361361
}

tests/integration/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func sweepGroupRules(ctx context.Context, client *okta.Client) error {
7575
return err
7676
}
7777
}
78-
_, err = client.Group.DeleteGroupRule(ctx, g.Id)
78+
_, err = client.Group.DeleteGroupRule(ctx, g.Id, &query.Params{})
7979
if err != nil {
8080
return err
8181
}

0 commit comments

Comments
 (0)