Remove the secrets directory flag and update fixtures
This commit is contained in:
@@ -89,8 +89,9 @@ inputs:
|
||||
glossary_file: ./glossary.yml
|
||||
`)
|
||||
|
||||
configureTestSecrets(t, configPath, secretsDir)
|
||||
var stdout, stderr bytes.Buffer
|
||||
if code := executeForTest([]string{"config", "show", "--config", configPath, "--secrets-dir", secretsDir}, &stdout, &stderr); code != 0 {
|
||||
if code := executeForTest([]string{"config", "show", "--config", configPath}, &stdout, &stderr); code != 0 {
|
||||
t.Fatalf("config show exit = %d; stderr=%q", code, stderr.String())
|
||||
}
|
||||
if !strings.Contains(stdout.String(), sharedProviderName) || !strings.Contains(stdout.String(), auditaOnlyName) {
|
||||
@@ -105,7 +106,7 @@ inputs:
|
||||
seedCurrentBuiltInEvidence(t, manifestPath, "2026-05-03", "sample-campaign", "merge", artifacts.TranscriptOutputKindBase, artifacts.ArtifactTranscriptBase, basePath)
|
||||
mustWriteTestFile(t, filepath.Join(workRoot, "inputs", "glossary.yml"), "[]\n")
|
||||
seedInvocationPrerequisites(t, workspace, "polish")
|
||||
args := []string{"--secrets-dir", secretsDir, "--config", configPath, "--campaign-file", campaignPath, "--session-file", sessionPath}
|
||||
args := []string{"--config", configPath, "--campaign-file", campaignPath, "--session-file", sessionPath}
|
||||
stdout.Reset()
|
||||
stderr.Reset()
|
||||
if code := executeForTest(append([]string{"run", "2026-05-03", "--stage", "polish", "--force"}, args...), &stdout, &stderr); code != 0 {
|
||||
|
||||
Reference in New Issue
Block a user