Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix config schema error #629 #630

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Fix config schema error #629 #630

merged 1 commit into from
Oct 2, 2024

Conversation

stephen-cox
Copy link
Member

@stephen-cox stephen-cox commented Oct 1, 2024

Fixes #629. Should allow the 1.7.0 release #622 to progress.

What does this change?

There isn't an enum schema type so using string instead with a constraint.

How to test

Checkout this branch and the feature/740/enable-localgov_base-helper-module branch from localgov, as used here: localgovdrupal/localgov#741. Then run the tests in this module.

Not using the profile branch results in test failing with message: Unable to install theme: 'localgov_base' due to unmet module dependencies: 'localgov_base_helper'.

@stephen-cox stephen-cox requested a review from markconroy October 1, 2024 13:33
Copy link
Member

@finnlewis finnlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that the test work with:

ddev composer require "localgovdrupal/localgov:dev-feature/740/enable-localgov_base-helper-module as 3.0.10" -W

 ddev composer require "localgovdrupal/localgov_base:dev-fix/1.x/629-schema-errors as 1.7.0" -W

ddev phpunit web/themes/contrib/localgov_base

Giving:

Testing /var/www/html/web/themes/contrib/localgov_base
..                                                                  2 / 2 (100%)

Time: 00:27.639, Memory: 4.00 MB

OK (2 tests, 6 assertions)

@finnlewis finnlewis merged commit 7ffc23a into 1.x Oct 2, 2024
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Schema errors in 1.x branch
2 participants