Skip to content

Commit a483f3e

Browse files
committed
Fix merge mistake
1 parent a66ffd7 commit a483f3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

coderd/workspaceapps/apptest/apptest.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ func Run(t *testing.T, factory DeploymentFactory) {
577577

578578
host := strings.Replace(appDetails.Options.AppHost, "*", "not-an-app-subdomain", 1)
579579
uri := fmt.Sprintf("http://%s/api/v2/users/me", host)
580-
resp, err := requestWithRetries(ctx, t, appDetails.Client, http.MethodGet, uri, nil)
580+
resp, err := requestWithRetries(ctx, t, appDetails.AppClient(t), http.MethodGet, uri, nil)
581581
require.NoError(t, err)
582582
defer resp.Body.Close()
583583

@@ -654,7 +654,7 @@ func Run(t *testing.T, factory DeploymentFactory) {
654654
defer cancel()
655655

656656
u := appDetails.SubdomainAppURL(appDetails.OwnerApp)
657-
resp, err := requestWithRetries(ctx, t, appDetails.Client, http.MethodGet, u.String(), nil)
657+
resp, err := requestWithRetries(ctx, t, appDetails.AppClient(t), http.MethodGet, u.String(), nil)
658658
require.NoError(t, err)
659659
defer resp.Body.Close()
660660
body, err := io.ReadAll(resp.Body)
@@ -723,7 +723,7 @@ func Run(t *testing.T, factory DeploymentFactory) {
723723

724724
app := appDetails.PortApp
725725
app.AppSlugOrPort = strconv.Itoa(codersdk.WorkspaceAgentMinimumListeningPort - 1)
726-
resp, err := requestWithRetries(ctx, t, appDetails.Client, http.MethodGet, appDetails.SubdomainAppURL(app).String(), nil)
726+
resp, err := requestWithRetries(ctx, t, appDetails.AppClient(t), http.MethodGet, appDetails.SubdomainAppURL(app).String(), nil)
727727
require.NoError(t, err)
728728
defer resp.Body.Close()
729729

0 commit comments

Comments
 (0)