Skip to content

Commit

Permalink
Removing leftover stuff from acceptance testing
Browse files Browse the repository at this point in the history
  • Loading branch information
charliecon committed Jan 30, 2025
1 parent aa89f19 commit de3261b
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ func getAllRoutingWrapupCodes(ctx context.Context, clientConfig *platformclientv
return resources, nil
}

type foo struct {
bar *string
}

func createRoutingWrapupCode(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics {
sdkConfig := meta.(*provider.ProviderMeta).ClientConfig
proxy := getRoutingWrapupcodeProxy(sdkConfig)
Expand Down Expand Up @@ -75,13 +71,6 @@ func readRoutingWrapupCode(ctx context.Context, d *schema.ResourceData, meta int
return retry.NonRetryableError(util.BuildWithRetriesApiDiagnosticError(ResourceType, fmt.Sprintf("Failed to read wrapupcode %s | error: %s", d.Id(), err), proxyResponse))
}

if *wrapupcode.Name == "OUTBOUND_SMS_WITH_SCREEN" || *wrapupcode.Name == "Win 2001" {
// force a panic
var b foo
b.bar = nil
fmt.Println(*b.bar)
}

resourcedata.SetNillableValue(d, "name", wrapupcode.Name)
if wrapupcode.Division != nil && wrapupcode.Division.Id != nil {
_ = d.Set("division_id", *wrapupcode.Division.Id)
Expand Down

0 comments on commit de3261b

Please sign in to comment.