Closed angela-tran closed 3 months ago
This PR does not seem to contain any modification to coverable code.
The Help page on dev-benefits.calitp.org
was not working with MST as the selected transit provider because its CalFresh verifier had no help_template
. I added core/includes/help--calfresh.html
as the help_template
to fix that. This fix is still important though because any time the admin interface saves/updates an EligibilityVerifier
with an empty help_template
, it'll be saved back as an empty string.
This PR fixes #2168 by making sure the context variable
agency.help_templates
doesn't include empty strings.The logic previously did not consider the case where the admin interface populates the
help_template
as an empty string rather thanNone
. If you load anEligibilityVerifier
fixture that doesn't specifyhelp_template
, the field gets set asNone
.