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

Fixes for #124 and #126 #127

Merged
merged 3 commits into from
Dec 13, 2023
Merged

Fixes for #124 and #126 #127

merged 3 commits into from
Dec 13, 2023

Conversation

marxjohnson
Copy link
Contributor

This fixes #124 by bumping the PostgreSQL version for GitHub actions to 12, so the tests can run on 4.1 and above.

I have fixed #126 by having the custom behat step swap "CHR" for "CHAR" if you're on a MySQL-family database. This seemed the sensible place to do it rather than having 2 separate behat tests. The alternative would be to make the change when the query is saved or executed, meaning it would work when you actually use the plugin too, but I'd expect people will write the flavour of SQL for the database they're actually running on, and if they migrate it's not unreasonable to expect them to update their queries.

@timhunt timhunt merged commit ccf619c into moodleou:main Dec 13, 2023
4 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.

Behat test failing on MySQL CI tests for master branch needs to be updated (postgres 10.21 -> 12+)
2 participants