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

@@ -73,11 +73,11 @@ func TestLockCommandsPreserveConditionalMutationAndIdempotentRemoval(t *testing.
func TestLockCommandsCheckOperandsBeforeAcquisitionAndKeepGroupLazy(t *testing.T) {
app, err := newApplication(commandDependencies{
loadSecretsDir: func(string) (*configkit.SecretsReport, error) {
preparePipelineSource: func(configkit.Source) (*configkit.SecretsReport, configkit.Source, error) {
t.Fatal("help or invalid operands 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("help or invalid operands loaded config")
return nil, nil
},