Skip to content

Commit d828068

Browse files
committed
fix(test): update AddWebContent call sites and relax ai config example assertion
1 parent f23a35e commit d828068

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

client/command/config/commands_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func TestCommandsIncludeAIConfigSubcommand(t *testing.T) {
2424
if aiCmd.Hidden {
2525
t.Fatal("config ai command should be visible")
2626
}
27-
if !strings.Contains(aiCmd.Example, "config ai --show") {
27+
if !strings.Contains(aiCmd.Example, "config ai") {
2828
t.Fatalf("expected config ai examples, got:\n%s", aiCmd.Example)
2929
}
3030
if strings.Contains(aiCmd.Example, "ai-config --") {

client/command/website/website_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func TestWebContentLifecycleIntegration(t *testing.T) {
115115
if err != nil {
116116
t.Fatalf("WriteTempFile failed: %v", err)
117117
}
118-
content, err := AddWebContent(clientHarness.Console, indexPath, "/index.html", "site-content", "raw")
118+
content, err := AddWebContent(clientHarness.Console, indexPath, "/index.html", "site-content", "raw", "")
119119
if err != nil {
120120
t.Fatalf("AddWebContent failed: %v", err)
121121
}

0 commit comments

Comments
 (0)