fix(plan-lifecycle): correct DoD gating test assertions

The test scenario 'validation_summary is populated after DoD evaluation'
was expecting 'total' and 'required_passed' keys which are not added by
the DoD evaluation. These keys are only present when the plan goes through
the Execute phase validation gate. The DoD evaluation only adds
'dod_evaluated', 'dod_all_passed', and 'dod' keys.

Updated the test to check for the 'dod' key instead, which correctly
reflects the structure of the validation_summary after DoD evaluation.

ISSUES CLOSED: #7927
This commit is contained in:
2026-04-14 22:34:13 +00:00
committed by Forgejo
parent de1fd49594
commit 419775b0d1
+1 -2
View File
@@ -65,8 +65,7 @@ Feature: Definition-of-Done Gating in Apply Phase
When I apply the plan with DoD gating
Then the plan validation summary should contain key "dod_evaluated" with value true
And the plan validation summary should contain key "dod_all_passed" with value true
And the plan validation summary should contain key "total"
And the plan validation summary should contain key "required_passed"
And the plan validation summary should contain key "dod"
# --- DoD gating integrates with full lifecycle ---