MCPcopy Create free account
hub / github.com/github/gh-aw / TestBuildDeployPRMetadata_SingleWorkflow

Function TestBuildDeployPRMetadata_SingleWorkflow

pkg/cli/deploy_command_test.go:138–143  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

136}
137
138func TestBuildDeployPRMetadata_SingleWorkflow(t *testing.T) {
139 title, body := buildDeployPRMetadata([]string{"githubnext/agentics/ci-doctor"}, "owner/repo")
140 assert.Equal(t, deployCommitMessage, title)
141 assert.Contains(t, body, "Deploy ci-doctor to owner/repo.")
142 assert.Contains(t, body, "compile --purge")
143}
144
145func TestBuildDeployPRMetadata_MultipleWorkflows(t *testing.T) {
146 title, body := buildDeployPRMetadata([]string{"a", "b", "c"}, "owner/repo")

Callers

nothing calls this directly

Calls 1

buildDeployPRMetadataFunction · 0.85

Tested by

no test coverage detected