@@ -114,7 +114,7 @@ func TestListSubnets(t *testing.T) {
114
114
TestListSubnetsResponseRaw , http .MethodGet , http .StatusOK , & endpointCalled , t )
115
115
116
116
ctx := context .Background ()
117
- actual , _ , err := subnets .List (ctx , testEnv .Client )
117
+ actual , _ , err := subnets .List (ctx , testEnv .Client , subnets. ListOpts {} )
118
118
if err != nil {
119
119
t .Fatal (err )
120
120
}
@@ -144,7 +144,7 @@ func TestListSubnetsSingle(t *testing.T) {
144
144
TestListSubnetsSingleResponseRaw , http .MethodGet , http .StatusOK , & endpointCalled , t )
145
145
146
146
ctx := context .Background ()
147
- actual , _ , err := subnets .List (ctx , testEnv .Client )
147
+ actual , _ , err := subnets .List (ctx , testEnv .Client , subnets. ListOpts {} )
148
148
if err != nil {
149
149
t .Fatal (err )
150
150
}
@@ -170,7 +170,7 @@ func TestListSubnetsHTTPError(t *testing.T) {
170
170
& endpointCalled , t )
171
171
172
172
ctx := context .Background ()
173
- allSubnet , httpResponse , err := subnets .List (ctx , testEnv .Client )
173
+ allSubnet , httpResponse , err := subnets .List (ctx , testEnv .Client , subnets. ListOpts {} )
174
174
175
175
if ! endpointCalled {
176
176
t .Fatal ("endpoint wasn't called" )
@@ -194,7 +194,7 @@ func TestListSubnetsTimeoutError(t *testing.T) {
194
194
testEnv .NewTestResellV2Client ()
195
195
196
196
ctx := context .Background ()
197
- allSubnet , _ , err := subnets .List (ctx , testEnv .Client )
197
+ allSubnet , _ , err := subnets .List (ctx , testEnv .Client , subnets. ListOpts {} )
198
198
199
199
if allSubnet != nil {
200
200
t .Fatal ("expected no subnets from the List method" )
@@ -215,7 +215,7 @@ func TestListSubnetsUnmarshalError(t *testing.T) {
215
215
& endpointCalled , t )
216
216
217
217
ctx := context .Background ()
218
- allSubnet , _ , err := subnets .List (ctx , testEnv .Client )
218
+ allSubnet , _ , err := subnets .List (ctx , testEnv .Client , subnets. ListOpts {} )
219
219
220
220
if ! endpointCalled {
221
221
t .Fatal ("endpoint wasn't called" )
0 commit comments