Skip to content
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
linting
  • Loading branch information
Emyrk committed Jun 3, 2024
commit 4a87dc0d3d38eba655555f304046d86cbe5b3484
4 changes: 1 addition & 3 deletions coderd/workspacebuilds_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ func TestWorkspaceDeleteSuspendedUser(t *testing.T) {

validateCalls := 0
userSuspended := false
owner, db := coderdtest.NewWithDatabase(t, &coderdtest.Options{
owner := coderdtest.New(t, &coderdtest.Options{
IncludeProvisionerDaemon: true,
ExternalAuthConfigs: []*externalauth.Config{
fake.ExternalAuthConfig(t, providerID, &oidctest.ExternalAuthConfigOptions{
Expand All @@ -735,7 +735,6 @@ func TestWorkspaceDeleteSuspendedUser(t *testing.T) {
}),
},
})
var _ = db

first := coderdtest.CreateFirstUser(t, owner)

Expand Down Expand Up @@ -769,7 +768,6 @@ func TestWorkspaceDeleteSuspendedUser(t *testing.T) {
workspace := coderdtest.CreateWorkspace(t, client, first.OrganizationID, template.ID)
coderdtest.AwaitWorkspaceBuildJobCompleted(t, client, workspace.LatestBuild.ID)
require.Equal(t, 1, validateCalls) // Ensure the external link is working
var _, _ = workspace, user

// Suspend the user
ctx := testutil.Context(t, testutil.WaitLong)
Expand Down