Skip to content

Commit

Permalink
feat: generated
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Nov 18, 2023
1 parent 86e4c82 commit c540666
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1158
configured_endpoints: 126
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func main() {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypeFull),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypePartial),
})
if err != nil {
panic(err.Error())
Expand Down
6 changes: 3 additions & 3 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestContextCancel(t *testing.T) {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypeFull),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypePartial),
})
if err == nil || res != nil {
t.Error("Expected there to be a cancel error and for the response to be nil")
Expand Down Expand Up @@ -74,7 +74,7 @@ func TestContextCancelDelay(t *testing.T) {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypeFull),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypePartial),
})
if err == nil || res != nil {
t.Error("expected there to be a cancel error and for the response to be nil")
Expand Down Expand Up @@ -109,7 +109,7 @@ func TestContextDeadline(t *testing.T) {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypeFull),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypePartial),
})
if err == nil || res != nil {
t.Error("expected there to be a deadline error and for the response to be nil")
Expand Down
2 changes: 1 addition & 1 deletion usage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestUsage(t *testing.T) {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypeFull),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypePartial),
})
if err != nil {
t.Error(err)
Expand Down
2 changes: 1 addition & 1 deletion zone_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestZoneNewWithOptionalParams(t *testing.T) {
Account: cloudflare.F(cloudflare.ZoneNewParamsAccount{
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Name: cloudflare.F("string"),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypeFull),
})
if err != nil {
Expand Down

0 comments on commit c540666

Please sign in to comment.