fix custom hostname mock test stubs

This commit is contained in:
Mikhail Rozentsvayg 2025-02-09 11:11:34 -08:00
parent 27a5f6e49c
commit 4e624d53cc

View File

@ -272,12 +272,12 @@ func (m *mockCloudFlareClient) UserDetails(ctx context.Context) (cloudflare.User
}
func (m *mockCloudFlareClient) CustomHostnames(ctx context.Context, zoneID string, page int, filter cloudflare.CustomHostname) ([]cloudflare.CustomHostname, cloudflare.ResultInfo, error) {
return ExampleCustomHostnames,
return []cloudflare.CustomHostname{},
cloudflare.ResultInfo{
Page: 1,
PerPage: 100,
Count: len(ExampleCustomHostnames),
Total: len(ExampleCustomHostnames),
Count: 0,
Total: 0,
TotalPages: 1,
}, nil
}