Skip to content

feat: unexpose coderdtest.NewWithAPI #2613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jun 27, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint
  • Loading branch information
sreya committed Jun 27, 2022
commit a54a322d440366d63903af672862d4e516bd576a
4 changes: 2 additions & 2 deletions coderd/coderdtest/coderdtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ func NewWithProvisionerCloser(t *testing.T, options *Options) (*codersdk.Client,
options = &Options{}
}
options.IncludeProvisionerD = true
client, close := newWithCloser(t, options)
return client, close
client, closer := newWithCloser(t, options)
return client, closer
}

// newWithCloser constructs a codersdk client connected to an in-memory API instance.
Expand Down