Replace generic resolution recording with intent methods
This commit is contained in:
@@ -149,8 +149,8 @@ func TestLayeredHistoryBudgetRejectsBeforeSecretsAndValidation(t *testing.T) {
|
||||
definition: Definition[historyBudgetLayeredConfig]{
|
||||
Resolve: func(configuration *historyBudgetLayeredConfig, resolution *Resolution) error {
|
||||
configuration.Child.Value += "-resolved"
|
||||
resolution.Record(Keys("child", "value"), ChangeNormalization, "normalize child")
|
||||
resolution.Record(Keys("child"), ChangeDerivedDefault, "record enclosing child state")
|
||||
resolution.RecordNormalization(Keys("child", "value"), "normalize child")
|
||||
resolution.RecordDerivedDefault(Keys("child"), "record enclosing child state")
|
||||
return nil
|
||||
},
|
||||
Validate: func(*historyBudgetLayeredConfig, *Validation) { counts.validations++ },
|
||||
|
||||
Reference in New Issue
Block a user