Skip to content

Commit 33d88ac

Browse files
lukemarsdenclaude
andcommitted
fix: update crawler test assertions for new docs content
The docs were rewritten - update test to look for current text: - Apps page: "how to create, configure, and interact with agents" - Private deployment: "Install Control Plane pointing at TogetherAI" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent c07feb5 commit 33d88ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/pkg/controller/knowledge/crawler/default_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ func TestDefault_Crawl(t *testing.T) {
5151
require.NoError(t, err)
5252

5353
const (
54-
appsText = `When I submit a request that uses an App, it hangs`
55-
privateDeploymentText = `This section describes how to install the control plane using Docker`
54+
appsText = `how to create, configure, and interact with agents`
55+
privateDeploymentText = `Install Control Plane pointing at TogetherAI`
5656
)
5757

5858
var (
@@ -72,7 +72,7 @@ func TestDefault_Crawl(t *testing.T) {
7272
if strings.Contains(doc.Content, privateDeploymentText) {
7373
privateDeploymentTextFound = true
7474

75-
assert.Equal(t, "https://docs.helixml.tech/helix/private-deployment/manual-install/docker/", doc.SourceURL)
75+
assert.Equal(t, "https://docs.helixml.tech/helix/private-deployment/controlplane/", doc.SourceURL)
7676
}
7777
}
7878

0 commit comments

Comments
 (0)