Skip to content

Commit cb37562

Browse files
committed
Update test cases introduced in latest commit to master
1 parent 5632ccb commit cb37562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github/orgs_rules_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ func TestOrganizationsService_CreateOrganizationRuleset_RepoIDs(t *testing.T) {
523523

524524
ctx := context.Background()
525525
ruleset, _, err := client.Organizations.CreateOrganizationRuleset(ctx, "o", &Ruleset{
526-
ID: 21,
526+
ID: Int64(21),
527527
Name: "ruleset",
528528
Target: String("branch"),
529529
SourceType: String("Organization"),
@@ -607,7 +607,7 @@ func TestOrganizationsService_CreateOrganizationRuleset_RepoIDs(t *testing.T) {
607607
}
608608

609609
want := &Ruleset{
610-
ID: 21,
610+
ID: Int64(21),
611611
Name: "ruleset",
612612
Target: String("branch"),
613613
SourceType: String("Organization"),

0 commit comments

Comments
 (0)