Remove the secrets directory flag and update fixtures

This commit is contained in:
2026-11-23 14:23:53 +00:00
parent a4491a8517
commit 6175945230
30 changed files with 146 additions and 334 deletions

View File

@@ -47,11 +47,11 @@ func TestCleanCommandReportsCompletedActionsBeforeLaterFailure(t *testing.T) {
func TestCleanCommandChecksAllSelectionBeforeBootstrap(t *testing.T) {
app, err := newApplication(commandDependencies{
loadSecretsDir: func(string) (*configkit.SecretsReport, error) {
preparePipelineSource: func(configkit.Source) (*configkit.SecretsReport, configkit.Source, error) {
t.Fatal("invalid cleanup bootstrapped secrets")
return nil, nil
return nil, configkit.Source{}, nil
},
loadPipelineConfig: func(string, config.PipelineLoadOptions) (*config.PipelineConfig, error) {
loadPipelineSource: func(configkit.Source, config.PipelineLoadOptions) (*config.PipelineConfig, error) {
t.Fatal("invalid cleanup loaded configuration")
return nil, nil
},