Skip to content

Commit cca80b1

Browse files
committed
Fix wrong method.
1 parent 4f4f714 commit cca80b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/apps_hooks_deliveries_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func TestAppsService_ListHookDeliveries(t *testing.T) {
3535

3636
const methodName = "ListHookDeliveries"
3737
testNewRequestAndDoFailure(t, methodName, client, func() (*Response, error) {
38-
got, resp, err := client.Organizations.GetHookDelivery(ctx, "o", 1, 1)
38+
got, resp, err := client.Apps.ListHookDeliveries(ctx, opts)
3939
if got != nil {
4040
t.Errorf("testNewRequestAndDoFailure %v = %#v, want nil", methodName, got)
4141
}

0 commit comments

Comments
 (0)