Skip to content

Commit e8376e5

Browse files
fix: fix cluster tests
1 parent aa58bd8 commit e8376e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cluster_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func TestSendingAText(t *testing.T) {
3838
}
3939

4040
func TestListingNumbers(t *testing.T) {
41-
resp, err := testClient.ApiV2010.ListIncomingPhoneNumber(nil, 0)
41+
resp, err := testClient.ApiV2010.ListIncomingPhoneNumber(nil)
4242
assert.Nil(t, err)
4343
assert.NotNil(t, resp)
4444
// from, to numbers plus any other numbers that's configured for the account.
@@ -49,7 +49,7 @@ func TestListingANumber(t *testing.T) {
4949
params := &openapi.ListIncomingPhoneNumberParams{}
5050
params.SetPhoneNumber(from)
5151

52-
resp, err := testClient.ApiV2010.ListIncomingPhoneNumber(params, 0)
52+
resp, err := testClient.ApiV2010.ListIncomingPhoneNumber(params)
5353
assert.Nil(t, err)
5454
assert.NotNil(t, resp)
5555
assert.Equal(t, 1, len(resp))

0 commit comments

Comments
 (0)