Problem/Motivation
myrest.schema.yml defines two configuration objects, but nothing verifies that the saved configuration actually validates against the schema, or that the settings form persists values correctly.
Proposed resolution
- Add a kernel test using
SchemaCheckTestTraitfor both configuration objects. - Add a functional test that submits
MyrestLogSettingsFormand asserts the stored values. - Add validation coverage for invalid input (negative time limits, unknown hash algorithms).
Remaining tasks
Implement the tests and fix any schema mismatches they reveal.
User interface changes
None.
API changes
None.
Issue fork myrest-3616419
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sergeydruua commentedComment #6
sergeydruua commented