chore(cli): replace clibase with external coder/serpent (#12252)

This commit is contained in:
Ammar Bandukwala
2024-03-15 11:24:38 -05:00
committed by GitHub
parent bed2545636
commit 496232446d
185 changed files with 3770 additions and 7221 deletions

View File

@ -10,7 +10,6 @@ import (
"github.com/stretchr/testify/require"
"github.com/coder/coder/v2/agent/proto"
"github.com/coder/coder/v2/cli/clibase"
"github.com/coder/coder/v2/coderd/appearance"
"github.com/coder/coder/v2/coderd/coderdtest"
"github.com/coder/coder/v2/coderd/database"
@ -21,6 +20,7 @@ import (
"github.com/coder/coder/v2/enterprise/coderd/coderdenttest"
"github.com/coder/coder/v2/enterprise/coderd/license"
"github.com/coder/coder/v2/testutil"
"github.com/coder/serpent"
)
func TestCustomLogoAndCompanyName(t *testing.T) {
@ -203,7 +203,7 @@ func TestCustomSupportLinks(t *testing.T) {
},
}
cfg := coderdtest.DeploymentValues(t)
cfg.Support.Links = clibase.Struct[[]codersdk.LinkConfig]{
cfg.Support.Links = serpent.Struct[[]codersdk.LinkConfig]{
Value: supportLinks,
}