Skip to content

Commit 5646f5a

Browse files
author
Jin Huang
committed
fix test case for TestGetOrganizationTicketsIterator
1 parent 2bbf4d2 commit 5646f5a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zendesk/ticket_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,10 @@ func TestGetOrganizationTicketsIterator(t *testing.T) {
133133
defer mockAPI.Close()
134134

135135
ops := NewPaginationOptions()
136-
ops.Id = 360363695492
137136
ops.Sort = "updated_at"
138137
ops.PageSize = 10
139138

140-
it := client.GetTicketsIterator(ctx, ops)
139+
it := client.GetOrganizationTicketsIterator(ctx, 360363695492, ops)
141140

142141
expectedLength := 2
143142
ticketCount := 0

0 commit comments

Comments
 (0)