Skip to content

Add ConfigMapperTest coverage for constant_prefix and functions_prefix #348

@coenjacobs

Description

@coenjacobs

Split from #334.

Summary

ConfigMapperTest tests all four core settings but doesn't verify that constant_prefix and functions_prefix from composer.json are correctly mapped to Mozart::$constantPrefix and Mozart::$functionsPrefix. A typo in the JSON key or setter name would silently disable the feature.

Recommendation

Add test cases to ConfigMapperTest that include constant_prefix and functions_prefix in the input JSON and assert they are correctly mapped to the corresponding Mozart properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions